diff --git a/test/functional/FunctionalCodeAction.hs b/test/functional/FunctionalCodeAction.hs index 0ce37bdd62..4148ccc0f2 100644 --- a/test/functional/FunctionalCodeAction.hs +++ b/test/functional/FunctionalCodeAction.hs @@ -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" ] diff --git a/test/testdata/hlint/ApplyRefact6.hs b/test/testdata/hlint/ApplyRefact6.hs index c0d0d379ba..8c5debea21 100644 --- a/test/testdata/hlint/ApplyRefact6.hs +++ b/test/testdata/hlint/ApplyRefact6.hs @@ -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