@@ -101,7 +101,16 @@ POS."
101101
102102(ert-deftest clojure-mode-syntax-table/fontify-clojure-keyword ()
103103 :tags '(fontification syntax-table)
104- (should (eq (clojure-test-face-at 2 11 " {:something 20}" ) 'clojure-keyword-face )))
104+ (should (equal (clojure-test-face-at 2 11 " {:something 20}" ) '(clojure-keyword-face))))
105+
106+ (ert-deftest clojure-mode-syntax-table/fontify-namespaced-keyword ()
107+ :tags '(fontification syntax-table)
108+ (should (equal (clojure-test-face-at 2 2 " {:alias/some 20}" ) '(clojure-keyword-face)))
109+ (should (equal (clojure-test-face-at 3 7 " {:alias/some 20}" ) '(font-lock-type-face clojure-keyword-face)))
110+ (should (equal (clojure-test-face-at 8 12 " {:alias/some 20}" ) '(clojure-keyword-face)))
111+ (should (equal (clojure-test-face-at 2 2 " {:a.ias/some 20}" ) '(clojure-keyword-face)))
112+ (should (equal (clojure-test-face-at 3 7 " {:a.ias/some 20}" ) '(font-lock-type-face clojure-keyword-face)))
113+ (should (equal (clojure-test-face-at 8 12 " {:a.ias/some 20}" ) '(clojure-keyword-face))))
105114
106115(ert-deftest clojure-mode-syntax-table/type ()
107116 :tags '(fontification syntax-table)
@@ -229,7 +238,7 @@ POS."
229238 :tags '(fontification syntax-table)
230239 (clojure-test-with-temp-buffer " ^:meta-data"
231240 (should (eq (clojure-test-face-at 1 1 ) nil ))
232- (should (eq (clojure-test-face-at 2 11 ) 'clojure-keyword-face ))))
241+ (should (equal (clojure-test-face-at 2 11 ) '( clojure-keyword-face) ))))
233242
234243(ert-deftest clojure-mode-syntax-table/characters ()
235244 :tags '(fontification syntax-table)
0 commit comments