]> code.delx.au - gnu-emacs/commitdiff
Fix the jit-lock-fontify-now test names
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 9 May 2016 09:29:18 +0000 (12:29 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 9 May 2016 09:29:38 +0000 (12:29 +0300)
* 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.

test/lisp/jit-lock-tests.el

index 3d1db85ac9fc97561ac8da8b9760d411efea45d4..dcb6936e32027447fab0a1a8e42c5cc741c9f575 100644 (file)
@@ -38,7 +38,7 @@
     (jit-lock-fontify-now (point-min) (point-max))
     (should-not (text-property-not-all (point-min) (point-max) 'fontified t))))
 
-(ert-deftest jit-lock-fontify-mends-the-gaps ()
+(ert-deftest jit-lock-fontify-now-mends-the-gaps ()
   (ert-with-test-buffer (:name "xxx")
     (jit-lock-tests--setup-buffer)
     (insert "aaabbbcccddd")
@@ -48,7 +48,7 @@
     (jit-lock-fontify-now (point-min) (point-max))
     (should-not (text-property-not-all (point-min) (point-max) 'fontified t))))
 
-(ert-deftest jit-lock-does-not-refontify-unnecessarily ()
+(ert-deftest jit-lock-fontify-now-does-not-refontify-unnecessarily ()
   (ert-with-test-buffer (:name "xxx")
     (setq font-lock-defaults
           (list '(((lambda () (error "Don't call me")))) t))