We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fe987 commit 1f92905Copy full SHA for 1f92905
plugins/hls-hlint-plugin/test/Main.hs
@@ -162,7 +162,8 @@ suggestionsTests =
162
liftIO $ do
163
length diags @?= 1 -- "Eta Reduce" and "Redundant Id"
164
unusedExt ^. L.code @?= Just (InR "refact:Unused LANGUAGE pragma")
165
- , testCase "hlint should not activate extensions like PatternSynonyms" runHlintSession "" $ do
+
166
+ , testCase "hlint should not activate extensions like PatternSynonyms" $ runHlintSession "" $ do
167
doc <- openDoc "PatternKeyword.hs" "haskell"
168
diags <- waitForDiagnosticsFrom doc
169
plugins/hls-hlint-plugin/test/testdata/PatternKeyword.hs
@@ -0,0 +1,3 @@
1
+module Foo (pattern) where
2
3
+pattern = 42
0 commit comments