Skip to content

Commit a10f03e

Browse files
committed
Test comment inside refactoring
1 parent 88852f0 commit a10f03e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/functional/FunctionalCodeAction.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ hlintTests = testGroup "hlint suggestions" [
203203
, "{-# standalone annotation #-}", ""
204204
, "-- standalone comment", ""
205205
, "-- | haddock comment"
206-
, "f = {- inline comment -} 1 -- ending comment", ""
206+
, "f = {- inline comment -} {- inline comment inside refactored code -}1 -- ending comment", ""
207207
, "-- final comment"
208208
]
209209

test/testdata/hlint/ApplyRefact6.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ module ApplyRefact6 where
66
-- standalone comment
77

88
-- | haddock comment
9-
f = {- inline comment -} (1) -- ending comment
9+
f = {- inline comment -} ({- inline comment inside refactored code -}1) -- ending comment
1010

1111
-- final comment

0 commit comments

Comments
 (0)