We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2bac0 commit a153981Copy full SHA for a153981
test/elixir-mode-font-tests.el
@@ -142,3 +142,12 @@ end"
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))))
145
+
146
+(ert-deftest elixir-mode-syntax-table/fontify-interpolation ()
147
+ :tags '(fontification interpolation syntax-table)
148
+ (elixir-test-with-temp-buffer
149
+ "\"#{1 + 2} is 3.\""
150
+ (should (eq (elixir-test-face-at 1) 'font-lock-string-face))
151
+ (should (eq (elixir-test-face-at 3) 'font-lock-variable-name-face))
152
+ (should (eq (elixir-test-face-at 11) 'font-lock-string-face))))
153
0 commit comments