Skip to content

Commit 0026c5a

Browse files
committed
Add test for spaced single line comments
1 parent fd28a0c commit 0026c5a

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

tests/empty-comment.test

+20-1
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,23 @@ Found:
208208
{- ^-}
209209
Perhaps you should remove it.
210210

211-
6 hints
211+
6 hints
212+
213+
---------------------------------------------------------------------
214+
RUN tests/empty-comment-mixed.hs
215+
FILE tests/empty-comment-mixed.hs
216+
217+
-- |
218+
--
219+
-- Comment with blank line comment space above and below.
220+
--
221+
commentWithSpace = 1
222+
223+
-- | Introduction line.
224+
--
225+
-- Comment with introduction line above and blank line below.
226+
--
227+
CommentWithSpaceOnlyAfter = 1
228+
229+
OUTPUT
230+
No hints

0 commit comments

Comments
 (0)