aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorRobert Pluim2023-07-21 14:38:15 +0200
committerRobert Pluim2023-07-21 14:42:09 +0200
commit0f9fd1d5a5ec5c062f45f3f8a16863021e17e7e8 (patch)
treee68aa6b153a07029c6a3495d25e3f770398a3ca6 /test/src
parent845d6561ed07a8a979200a389a39db08dffccdc8 (diff)
downloademacs-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.el2
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