aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/simple-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/simple-tests.el')
-rw-r--r--test/lisp/simple-tests.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el
index 4adcacb279b..63e504bbe17 100644
--- a/test/lisp/simple-tests.el
+++ b/test/lisp/simple-tests.el
@@ -39,6 +39,13 @@
39 (with-no-warnings (simple-test--buffer-substrings)))) 39 (with-no-warnings (simple-test--buffer-substrings))))
40 40
41 41
42;;; `count-words'
43(ert-deftest simple-test-count-words-bug-41761 ()
44 (with-temp-buffer
45 (dotimes (i 10) (insert (propertize "test " 'field (cons nil nil))))
46 (should (= (count-words (point-min) (point-max)) 10))))
47
48
42;;; `transpose-sexps' 49;;; `transpose-sexps'
43(defmacro simple-test--transpositions (&rest body) 50(defmacro simple-test--transpositions (&rest body)
44 (declare (indent 0) 51 (declare (indent 0)