File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,18 @@ POS."
193
193
(should (eq (clojure-test-face-at 2 5 ) 'font-lock-keyword-face ))
194
194
(should (eq (clojure-test-face-at 7 9 ) 'font-lock-function-name-face ))))
195
195
196
+ (ert-deftest clojure-mode-syntax-table/custom-def-with-special-chars1 ()
197
+ :tags '(fontification syntax-table)
198
+ (clojure-test-with-temp-buffer " (defn* foo [x] x)"
199
+ (should (eq (clojure-test-face-at 2 6 ) 'font-lock-keyword-face ))
200
+ (should (eq (clojure-test-face-at 8 10 ) 'font-lock-function-name-face ))))
201
+
202
+ (ert-deftest clojure-mode-syntax-table/custom-def-with-special-chars2 ()
203
+ :tags '(fontification syntax-table)
204
+ (clojure-test-with-temp-buffer " (defsomething! foo [x] x)"
205
+ (should (eq (clojure-test-face-at 2 14 ) 'font-lock-keyword-face ))
206
+ (should (eq (clojure-test-face-at 16 18 ) 'font-lock-function-name-face ))))
207
+
196
208
(ert-deftest clojure-mode-syntax-table/lambda-params ()
197
209
:tags '(fontification syntax-table)
198
210
(clojure-test-with-temp-buffer " #(+ % %2 %3)"
You can’t perform that action at this time.
0 commit comments