File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/hls-hlint-plugin/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,12 @@ 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
- , expectFailBecause " [#2042] To investigate " $ testCase " hlint should warn about unused extensions" $ runHlintSession " " $ do
158
+ , testCase " hlint should warn about unused extensions" $ runHlintSession " unusedext " $ do
159
159
doc <- openDoc " UnusedExtension.hs" " haskell"
160
160
diags@ (unusedExt: _) <- waitForDiagnosticsFromSource doc " hlint"
161
161
162
162
liftIO $ do
163
- length diags @?= 1 -- "Eta Reduce" and "Redundant Id"
163
+ length diags @?= 1
164
164
unusedExt ^. L. code @?= Just (InR " refact:Unused LANGUAGE pragma" )
165
165
166
166
, knownBrokenForHlintOnGhcLib " [#1279] hlint uses a fixed set of extensions" $
You can’t perform that action at this time.
0 commit comments