Skip to content

Commit 22ce5d5

Browse files
committed
Add a test for %& font-locking
1 parent f5e2dcc commit 22ce5d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/clojure-mode-font-lock-test.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,11 @@ POS."
264264

265265
(ert-deftest clojure-mode-syntax-table/lambda-params ()
266266
:tags '(fontification syntax-table)
267-
(clojure-test-with-temp-buffer "#(+ % %2 %3)"
267+
(clojure-test-with-temp-buffer "#(+ % %2 %3 %&)"
268268
(should (eq (clojure-test-face-at 5 5) 'font-lock-variable-name-face))
269269
(should (eq (clojure-test-face-at 7 8) 'font-lock-variable-name-face))
270-
(should (eq (clojure-test-face-at 10 11) 'font-lock-variable-name-face))))
270+
(should (eq (clojure-test-face-at 10 11) 'font-lock-variable-name-face))
271+
(should (eq (clojure-test-face-at 13 14) 'font-lock-variable-name-face))))
271272

272273
(ert-deftest clojure-mode-syntax-table/nil ()
273274
:tags '(fontification syntax-table)

0 commit comments

Comments
 (0)