Skip to content

Commit

Permalink
Add test for spaced single line comments
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jul 26, 2024
1 parent a6dcef7 commit 6c6e49e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion tests/empty-comment.test
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,23 @@ Found:
{- ^-}
Perhaps you should remove it.

6 hints
6 hints

---------------------------------------------------------------------
RUN tests/empty-comment-mixed.hs
FILE tests/empty-comment-mixed.hs

-- |
--
-- Comment with blank line comment space above and below.
--
commentWithSpace = 1

-- | Introduction line.
--
-- Comment with introduction line above and blank line below.
--
CommentWithSpaceOnlyAfter = 1

OUTPUT
No hints

0 comments on commit 6c6e49e

Please sign in to comment.