We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db2f856 commit 48e123dCopy full SHA for 48e123d
test/clojure-mode-font-lock-test.el
@@ -256,6 +256,12 @@ POS."
256
(should (eq (clojure-test-face-at 2 14) 'font-lock-keyword-face))
257
(should (eq (clojure-test-face-at 16 18) 'font-lock-function-name-face))))
258
259
+(ert-deftest clojure-mode-syntax-table/fn ()
260
+ :tags '(fontification syntax-table)
261
+ (clojure-test-with-temp-buffer "(fn foo [x] x)"
262
+ (should (eq (clojure-test-face-at 2 3) 'font-lock-keyword-face))
263
+ (should (eq (clojure-test-face-at 5 7) 'font-lock-function-name-face))))
264
+
265
(ert-deftest clojure-mode-syntax-table/lambda-params ()
266
:tags '(fontification syntax-table)
267
(clojure-test-with-temp-buffer "#(+ % %2 %3)"
0 commit comments