Skip to content

Commit b2147dd

Browse files
Bozhidar Batsovkommen
authored andcommitted
Fix the font-locking of classes in scenarios like URLDecoder/decode
1 parent a186dc9 commit b2147dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clojure-mode-test.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ POS."
118118
(should (eq (clojure-test-face-at 1 5) 'font-lock-type-face))
119119
(should (eq (clojure-test-face-at 6 6) nil))
120120
(should (eq (clojure-test-face-at 7 16) 'clojure-interop-method-face)))
121+
(clojure-test-with-temp-buffer "SomeClass/methodName"
122+
(should (eq (clojure-test-face-at 1 9) 'font-lock-type-face))
123+
(should (eq (clojure-test-face-at 10 10) nil))
124+
(should (eq (clojure-test-face-at 11 20) 'clojure-interop-method-face)))
121125
(clojure-test-with-temp-buffer "clojure.lang.Var/someMethod"
122126
(should (eq (clojure-test-face-at 1 16) 'font-lock-type-face))
123127
(should (eq (clojure-test-face-at 17 17) nil))

0 commit comments

Comments
 (0)