@@ -104,41 +104,41 @@ end"
104
104
:tags '(fontification heredoc syntax-table)
105
105
(elixir-test-with-temp-buffer
106
106
" @doc \"\"\" "
107
- (should (eq (elixir-test-face-at 1 ) 'font-lock-builtin -face ))
108
- (should (eq (elixir-test-face-at 2 ) 'font-lock-builtin -face ))
107
+ (should (eq (elixir-test-face-at 1 ) 'elixir-attribute -face ))
108
+ (should (eq (elixir-test-face-at 2 ) 'elixir-attribute -face ))
109
109
(should (eq (elixir-test-face-at 6 ) 'font-lock-string-face ))))
110
110
111
111
(ert-deftest elixir-mode-syntax-table/fontify-heredoc/2 ()
112
112
:tags '(fontification heredoc syntax-table)
113
113
(elixir-test-with-temp-buffer
114
114
" @moduledoc \"\"\" "
115
- (should (eq (elixir-test-face-at 1 ) 'font-lock-builtin -face ))
116
- (should (eq (elixir-test-face-at 2 ) 'font-lock-builtin -face ))
115
+ (should (eq (elixir-test-face-at 1 ) 'elixir-attribute -face ))
116
+ (should (eq (elixir-test-face-at 2 ) 'elixir-attribute -face ))
117
117
(should (eq (elixir-test-face-at 12 ) 'font-lock-string-face ))))
118
118
119
119
(ert-deftest elixir-mode-syntax-table/fontify-heredoc/3 ()
120
120
:tags '(fontification heredoc syntax-table)
121
121
(elixir-test-with-temp-buffer
122
122
" ~s\"\"\" "
123
- (should (eq (elixir-test-face-at 1 ) 'font-lock-builtin -face ))
124
- (should (eq (elixir-test-face-at 2 ) 'font-lock-builtin -face ))
123
+ (should (eq (elixir-test-face-at 1 ) 'elixir-attribute -face ))
124
+ (should (eq (elixir-test-face-at 2 ) 'elixir-attribute -face ))
125
125
(should (eq (elixir-test-face-at 3 ) 'font-lock-string-face ))))
126
126
127
127
(ert-deftest elixir-mode-syntax-table/fontify-atoms ()
128
128
:tags '(fontification atom syntax-table)
129
129
(elixir-test-with-temp-buffer
130
130
" :oriole
131
131
:andale"
132
- (should (eq (elixir-test-face-at 3 ) 'font-lock-constant -face ))
133
- (should (eq (elixir-test-face-at 5 ) 'font-lock-constant -face ))
134
- (should (eq (elixir-test-face-at 10 ) 'font-lock-constant -face ))
135
- (should (eq (elixir-test-face-at 13 ) 'font-lock-constant -face ))))
132
+ (should (eq (elixir-test-face-at 3 ) 'elixir-atom -face ))
133
+ (should (eq (elixir-test-face-at 5 ) 'elixir-atom -face ))
134
+ (should (eq (elixir-test-face-at 10 ) 'elixir-atom -face ))
135
+ (should (eq (elixir-test-face-at 13 ) 'elixir-atom -face ))))
136
136
137
137
(ert-deftest elixir-mode-syntax-table/fontify-map-keys ()
138
138
:tags '(fontification map syntax-table)
139
139
(elixir-test-with-temp-buffer
140
140
" %{a: 1, b: 2}"
141
- (should (eq (elixir-test-face-at 3 ) 'font-lock-constant -face ))
142
- (should (eq (elixir-test-face-at 4 ) 'font-lock-constant -face ))
143
- (should (eq (elixir-test-face-at 9 ) 'font-lock-constant -face ))
144
- (should (eq (elixir-test-face-at 10 ) 'font-lock-constant -face ))))
141
+ (should (eq (elixir-test-face-at 3 ) 'elixir-atom -face ))
142
+ (should (eq (elixir-test-face-at 4 ) 'elixir-atom -face ))
143
+ (should (eq (elixir-test-face-at 9 ) 'elixir-atom -face ))
144
+ (should (eq (elixir-test-face-at 10 ) 'elixir-atom -face ))))
0 commit comments