aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/jit-lock-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/jit-lock-tests.el b/test/lisp/jit-lock-tests.el
index 3d1db85ac9f..dcb6936e320 100644
--- a/test/lisp/jit-lock-tests.el
+++ b/test/lisp/jit-lock-tests.el
@@ -38,7 +38,7 @@
38 (jit-lock-fontify-now (point-min) (point-max)) 38 (jit-lock-fontify-now (point-min) (point-max))
39 (should-not (text-property-not-all (point-min) (point-max) 'fontified t)))) 39 (should-not (text-property-not-all (point-min) (point-max) 'fontified t))))
40 40
41(ert-deftest jit-lock-fontify-mends-the-gaps () 41(ert-deftest jit-lock-fontify-now-mends-the-gaps ()
42 (ert-with-test-buffer (:name "xxx") 42 (ert-with-test-buffer (:name "xxx")
43 (jit-lock-tests--setup-buffer) 43 (jit-lock-tests--setup-buffer)
44 (insert "aaabbbcccddd") 44 (insert "aaabbbcccddd")
@@ -48,7 +48,7 @@
48 (jit-lock-fontify-now (point-min) (point-max)) 48 (jit-lock-fontify-now (point-min) (point-max))
49 (should-not (text-property-not-all (point-min) (point-max) 'fontified t)))) 49 (should-not (text-property-not-all (point-min) (point-max) 'fontified t))))
50 50
51(ert-deftest jit-lock-does-not-refontify-unnecessarily () 51(ert-deftest jit-lock-fontify-now-does-not-refontify-unnecessarily ()
52 (ert-with-test-buffer (:name "xxx") 52 (ert-with-test-buffer (:name "xxx")
53 (setq font-lock-defaults 53 (setq font-lock-defaults
54 (list '(((lambda () (error "Don't call me")))) t)) 54 (list '(((lambda () (error "Don't call me")))) t))