Skip to content

Commit f872f36

Browse files
committed
Add failing test for regex with quotes.
1 parent 6ff1db2 commit f872f36

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/elixir-mode-font-tests.el

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,12 @@ buffer."
4646
(should (eq (elixir-test-face-at 41) 'font-lock-type-face))
4747
(should (eq (elixir-test-face-at 52) 'font-lock-type-face))
4848
(should (eq (elixir-test-face-at 53) 'font-lock-type-face))))
49+
50+
(ert-deftest elixir-mode-syntax-table/fontify-regex-with-quote ()
51+
"https://github.com/elixir-lang/emacs-elixir/issues/23"
52+
:tags '(fontification syntax-table)
53+
:expected-result :failed
54+
(elixir-test-with-temp-buffer
55+
"~r/\"/
56+
x = 15"
57+
(should (eq (elixir-test-face-at 7) 'font-lock-variable-name-face))))

0 commit comments

Comments
 (0)