File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,10 @@ where vertical bar is omitted"
126
126
"
127
127
'((1 57 font-lock-doc-face ))))
128
128
129
- (ert-deftest multiline-comment ()
130
- (purescript-test-ranges
129
+ ; ; For some unknown reason this fails on older Emacses
130
+ (when (>= emacs-major-version 28 )
131
+ (ert-deftest multiline-comment ()
132
+ (purescript-test-ranges
131
133
" {-
132
134
multiline comment
133
135
-- | not a doc
@@ -138,12 +140,12 @@ noncomment
138
140
{--}
139
141
noncomment
140
142
"
141
- '((1 64 font-lock-comment-face )
142
- (65 66 font-lock-comment-delimiter-face )
143
- (67 78 nil )
144
- (79 80 font-lock-comment-face )
145
- (81 82 font-lock-comment-delimiter-face )
146
- (83 93 nil ))))
143
+ '((1 64 font-lock-comment-face )
144
+ (65 66 font-lock-comment-delimiter-face )
145
+ (67 78 nil )
146
+ (79 80 font-lock-comment-face )
147
+ (81 82 font-lock-comment-delimiter-face )
148
+ (83 93 nil ) ))))
147
149
148
150
(ert-deftest multiline-comment-w-delimiter-inside ()
149
151
:expected-result :failed
You can’t perform that action at this time.
0 commit comments