aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/callint-tests.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/src/callint-tests.el b/test/src/callint-tests.el
index 9a812223ad0..feee9b692b7 100644
--- a/test/src/callint-tests.el
+++ b/test/src/callint-tests.el
@@ -43,4 +43,12 @@
43 (list a b)))) 43 (list a b))))
44 '("a" "b")))) 44 '("a" "b"))))
45 45
46(ert-deftest call-interactively-prune-command-history ()
47 "Check that Bug#31211 is fixed."
48 (let ((history-length 1)
49 (command-history ()))
50 (dotimes (_ (1+ history-length))
51 (call-interactively #'ignore t))
52 (should (= (length command-history) history-length))))
53
46;;; callint-tests.el ends here 54;;; callint-tests.el ends here