Skip to content

Commit 4936470

Browse files
committed
Extend string tests to cover comment constructions
1 parent e870a83 commit 4936470

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/purescript-font-lock-tests.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,14 @@ hello
8080
"foo = \"\"\"
8181
# a string with hashtag
8282
# another # one
83+
-- not a comment --
84+
-- | not a comment
85+
{- not a comment -}
8386
\"\"\"
8487
"
8588
'((1 3 font-lock-function-name-face)
8689
(5 5 font-lock-variable-name-face)
87-
(7 55 font-lock-string-face))))
90+
(7 114 font-lock-string-face))))
8891

8992
(ert-deftest multiline-string-with-embedded-strings ()
9093
:expected-result :failed

0 commit comments

Comments
 (0)