Skip to content

Commit 1f92905

Browse files
committed
Add regression test for haskell#1279
1 parent 31fe987 commit 1f92905

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

plugins/hls-hlint-plugin/test/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ suggestionsTests =
162162
liftIO $ do
163163
length diags @?= 1 -- "Eta Reduce" and "Redundant Id"
164164
unusedExt ^. L.code @?= Just (InR "refact:Unused LANGUAGE pragma")
165-
, testCase "hlint should not activate extensions like PatternSynonyms" runHlintSession "" $ do
165+
166+
, testCase "hlint should not activate extensions like PatternSynonyms" $ runHlintSession "" $ do
166167
doc <- openDoc "PatternKeyword.hs" "haskell"
167168
diags <- waitForDiagnosticsFrom doc
168169

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module Foo (pattern) where
2+
3+
pattern = 42

0 commit comments

Comments
 (0)