Skip to content

Commit 671e004

Browse files
committed
Add regression test
1 parent 88066da commit 671e004

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/elixir-mode-font-test.el

+8
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,14 @@ end"
199199
(should (eq (elixir-test-face-at 2) 'font-lock-builtin-face))
200200
(should (eq (elixir-test-face-at 3) 'font-lock-string-face))))
201201

202+
(ert-deftest elixir-mode-syntax-table/fontify-heredoc/4 ()
203+
:tags '(fontification heredoc syntax-table)
204+
(elixir-test-with-temp-buffer
205+
"@typedoc \"\"\""
206+
(should (eq (elixir-test-face-at 1) 'elixir-attribute-face))
207+
(should (eq (elixir-test-face-at 2) 'elixir-attribute-face))
208+
(should (eq (elixir-test-face-at 10) 'font-lock-doc-face))))
209+
202210
(ert-deftest elixir-mode-syntax-table/fontify-atoms ()
203211
:tags '(fontification atom syntax-table)
204212
(elixir-test-with-temp-buffer

0 commit comments

Comments
 (0)