diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-tests.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index 2a078be8cb0..b147bd6789c 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el | |||
| @@ -582,6 +582,13 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-03/msg00914.html." | |||
| 582 | (should (equal '(2 . many) | 582 | (should (equal '(2 . many) |
| 583 | (func-arity #'comp-tests-ffuncall-callee-opt-rest-dyn-f)))) | 583 | (func-arity #'comp-tests-ffuncall-callee-opt-rest-dyn-f)))) |
| 584 | 584 | ||
| 585 | (ert-deftest comp-tests-dynamic-help-arglist () | ||
| 586 | "Test `help-function-arglist' works on lisp/d (bug#42572)." | ||
| 587 | (should (equal (help-function-arglist | ||
| 588 | (symbol-function #'comp-tests-ffuncall-callee-opt-rest-dyn-f) | ||
| 589 | t) | ||
| 590 | '(a b &optional c &rest d)))) | ||
| 591 | |||
| 585 | (ert-deftest comp-tests-cl-macro-exp () | 592 | (ert-deftest comp-tests-cl-macro-exp () |
| 586 | "Verify CL macro expansion (bug#42088)." | 593 | "Verify CL macro expansion (bug#42088)." |
| 587 | (should (equal (comp-tests-cl-macro-exp-f) '(a b)))) | 594 | (should (equal (comp-tests-cl-macro-exp-f) '(a b)))) |