Skip to content

Commit

Permalink
Correct test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Nov 5, 2021
1 parent 5ef5777 commit 8fe3e0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/hls-hlint-plugin/test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ suggestionsTests =
, "-- final comment"
]
expectedComments2 = [ "module TwoHintsAndComment where"
, "biggest items = foldr1 max -- the line above will show two hlint hints, \"eta reduce\" and \"use maximum\""
, "biggest = foldr1 max -- the line above will show two hlint hints, \"eta reduce\" and \"use maximum\""
]
expectedTypeApp = [ "module TypeApplication where", ""
, "a = id @Int 1"
Expand Down
3 changes: 1 addition & 2 deletions plugins/hls-hlint-plugin/test/testdata/TwoHintsAndComment.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
module TwoHintsAndComments where

module TwoHintsAndComment where
biggest items = foldr1 max items -- the line above will show two hlint hints, "eta reduce" and "use maximum"

0 comments on commit 8fe3e0c

Please sign in to comment.