summaryrefslogtreecommitdiff
path: root/test/lisp/subr-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-03 22:30:39 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-03 22:30:39 +0200
commitc761ded251f281236e835df2d23ba5669499abf6 (patch)
tree6470ed481bbe02064a1f612de731e01f8a726447 /test/lisp/subr-tests.el
parent0a2f0e7f8c1ba54d160322c52865feef3e67d79c (diff)
downloademacs-c761ded251f281236e835df2d23ba5669499abf6.tar.gz
Make some recently added tests actually run
Diffstat (limited to 'test/lisp/subr-tests.el')
-rw-r--r--test/lisp/subr-tests.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index a4f531ea4e6..3725f180f3a 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -1053,9 +1053,10 @@ final or penultimate step during initialization."))
(should (equal (string-lines "foo\n\n\nbar" t t)
'("foo\n" "bar"))))
-(defun test-keymap-parse-macros ()
+(ert-deftest test-keymap-parse-macros ()
(should (equal (key-parse "C-x ( C-d C-x )") [24 40 4 24 41]))
- (should (equal (kbd "C-x ( C-d C-x )") "")))
+ (should (equal (kbd "C-x ( C-d C-x )") ""))
+ (should (equal (kbd "C-x ( C-x )") "")))
(provide 'subr-tests)
;;; subr-tests.el ends here