File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,23 @@ POS."
110
110
(should (equal (clojure-test-face-at 4 5 " #\" a\\ bc\\ n\" " )
111
111
'(bold font-lock-string-face ))))
112
112
113
+ (ert-deftest clojure-mode-syntax-table/stuff-in-double-brackets ()
114
+ :tags '(fontification syntax-table)
115
+ (should (equal (clojure-test-face-at 1 3 " \" [[#'s/trim]]\" " )
116
+ font-lock-string-face ))
117
+ (should (equal (clojure-test-face-at 4 11 " \" [[#'s/trim]]\" " )
118
+ '(font-lock-constant-face font-lock-string-face )))
119
+ (should (equal (clojure-test-face-at 12 14 " \" [[#'s/trim]]\" " )
120
+ font-lock-string-face ))
121
+ (should (equal (clojure-test-face-at 1 1 " ;[[#'s/trim]]" )
122
+ font-lock-comment-delimiter-face ))
123
+ (should (equal (clojure-test-face-at 2 3 " ;[[#'s/trim]]" )
124
+ font-lock-comment-face ))
125
+ (should (equal (clojure-test-face-at 4 11 " ;[[#'s/trim]]" )
126
+ '(font-lock-constant-face font-lock-comment-face )))
127
+ (should (equal (clojure-test-face-at 12 13 " ;[[#'s/trim]]" )
128
+ font-lock-comment-face )))
129
+
113
130
(ert-deftest clojure-mode-syntax-table/fontify-let-when-while-type-forms ()
114
131
:tags '(fontification syntax-table)
115
132
(should (equal (clojure-test-face-at 2 11 " (when-alist [x 1]\n ())" )
You can’t perform that action at this time.
0 commit comments