File tree 3 files changed +8
-2
lines changed
plugins/hls-hlint-plugin/test
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ suggestionsTests =
155
155
liftIO $ not (hasApplyAll thirdLine) @? " Unexpected apply all code action"
156
156
liftIO $ hasApplyAll multiLine @? " Missing apply all code action"
157
157
158
- , testCase " hlint should warn about unused extensions" $ runHlintSession " unusedext" $ do
158
+ , knownBrokenForHlintOnRawGhc " [#2042] maybe hlint is ignoring pragmas" $
159
+ testCase " hlint should warn about unused extensions" $ runHlintSession " unusedext" $ do
159
160
doc <- openDoc " UnusedExtension.hs" " haskell"
160
161
diags@ (unusedExt: _) <- waitForDiagnosticsFromSource doc " hlint"
161
162
@@ -164,7 +165,7 @@ suggestionsTests =
164
165
unusedExt ^. L. code @?= Just (InR " refact:Unused LANGUAGE pragma" )
165
166
166
167
, knownBrokenForHlintOnGhcLib " [#1279] hlint uses a fixed set of extensions" $
167
- testCase " hlint should not activate extensions like PatternSynonyms" $ runHlintSession " " $ do
168
+ testCase " hlint should not activate extensions like PatternSynonyms" $ runHlintSession " " $ do
168
169
doc <- openDoc " PatternKeyword.hs" " haskell"
169
170
170
171
waitForAllProgressDone
Original file line number Diff line number Diff line change
1
+ {-# LANGUAGE BangPatterns #-}
Original file line number Diff line number Diff line change
1
+ cradle :
2
+ direct :
3
+ arguments :
4
+ - " UnusedExtension"
You can’t perform that action at this time.
0 commit comments