diff options
| author | Robert Pluim | 2023-07-21 14:38:15 +0200 |
|---|---|---|
| committer | Robert Pluim | 2023-07-21 14:42:09 +0200 |
| commit | 0f9fd1d5a5ec5c062f45f3f8a16863021e17e7e8 (patch) | |
| tree | e68aa6b153a07029c6a3495d25e3f770398a3ca6 /test/src | |
| parent | 845d6561ed07a8a979200a389a39db08dffccdc8 (diff) | |
| download | emacs-0f9fd1d5a5ec5c062f45f3f8a16863021e17e7e8.tar.gz emacs-0f9fd1d5a5ec5c062f45f3f8a16863021e17e7e8.zip | |
Fix failing native-compile test
* test/src/comp-tests.el (comp-tests-result-lambda): Use
'comp-deftest', not 'ert-deftest'. The latter doesn't check for
native-compile support.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index 30dfd669ded..89b1eefb1dc 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el | |||
| @@ -1530,7 +1530,7 @@ folded." | |||
| 1530 | (equal (comp-mvar-typeset mvar) | 1530 | (equal (comp-mvar-typeset mvar) |
| 1531 | comp-tests-cond-rw-expected-type)))))))) | 1531 | comp-tests-cond-rw-expected-type)))))))) |
| 1532 | 1532 | ||
| 1533 | (ert-deftest comp-tests-result-lambda () | 1533 | (comp-deftest comp-tests-result-lambda () |
| 1534 | (native-compile 'comp-tests-result-lambda) | 1534 | (native-compile 'comp-tests-result-lambda) |
| 1535 | (should (eq (funcall (comp-tests-result-lambda) '(a . b)) 'a))) | 1535 | (should (eq (funcall (comp-tests-result-lambda) '(a . b)) 'a))) |
| 1536 | ;;; comp-tests.el ends here | 1536 | ;;; comp-tests.el ends here |