Skip to content

Commit

Permalink
Test comment inside refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Jan 13, 2021
1 parent 88852f0 commit decf082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/FunctionalCodeAction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ hlintTests = testGroup "hlint suggestions" [
, "{-# standalone annotation #-}", ""
, "-- standalone comment", ""
, "-- | haddock comment"
, "f = {- inline comment -} 1 -- ending comment", ""
, "f = {- inline comment -}{- inline comment inside refactored code -} 1 -- ending comment", ""
, "-- final comment"
]

Expand Down
2 changes: 1 addition & 1 deletion test/testdata/hlint/ApplyRefact6.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module ApplyRefact6 where
-- standalone comment

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

-- final comment

0 comments on commit decf082

Please sign in to comment.