aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2016-05-09 12:29:18 +0300
committerDmitry Gutov2016-05-09 12:29:38 +0300
commitfd45b5276ba1454c8b4f06cd53367830c1389d84 (patch)
treee246de5ddca7b8fdd1c4fc72d84ddfb9af3b7401
parent60e9b006b514f1337f7ff2a41518f0ed72510d5f (diff)
downloademacs-fd45b5276ba1454c8b4f06cd53367830c1389d84.tar.gz
emacs-fd45b5276ba1454c8b4f06cd53367830c1389d84.zip
Fix the jit-lock-fontify-now test names
* test/lisp/jit-lock-tests.el (jit-lock-fontify-now-mends-the-gaps) (jit-lock-fontify-now-does-not-refontify-unnecessarily): Fix the test names.
-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))