aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/simple-tests.el
diff options
context:
space:
mode:
authorVibhav Pant2020-08-21 14:04:35 +0530
committerVibhav Pant2020-08-21 14:04:35 +0530
commitf0f8d7b82492e741950c363a03b886965c91b1b0 (patch)
tree19b716830b1ebabc0d7d75949c4e6800c0f104ad /test/lisp/simple-tests.el
parent9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff)
parentc818c29771d3cb51875643b2f6c894073e429dd2 (diff)
downloademacs-feature/native-comp-macos-fixes.tar.gz
emacs-feature/native-comp-macos-fixes.zip
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
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)