Skip to content

Commit 37da7ab

Browse files
committed
Remove duplicated test
1 parent 2e829f5 commit 37da7ab

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/functional/FunctionalCodeAction.hs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,6 @@ hlintTests = testGroup "hlint suggestions" [
8181
contents <- skipManyTill anyMessage $ getDocumentEdit doc
8282
liftIO $ contents @?= "main = undefined\nfoo = id\n"
8383

84-
, testCase "changing configuration enables or disables hlint diagnostics" $ runHlintSession "" $ do
85-
let config = def { hlintOn = True }
86-
sendNotification WorkspaceDidChangeConfiguration (DidChangeConfigurationParams (toJSON config))
87-
88-
doc <- openDoc "ApplyRefact2.hs" "haskell"
89-
testHlintDiagnostics doc
90-
91-
let config' = def { hlintOn = False }
92-
sendNotification WorkspaceDidChangeConfiguration (DidChangeConfigurationParams (toJSON config'))
93-
94-
diags' <- waitForDiagnosticsFrom doc
95-
96-
liftIO $ noHlintDiagnostics diags'
97-
9884
, knownBrokenForGhcVersions [GHC88, GHC86] "hlint doesn't take in account cpp flag as ghc -D argument" $
9985
testCase "hlint diagnostics works with CPP via ghc -XCPP argument (#554)" $ runHlintSession "cpp" $ do
10086
doc <- openDoc "ApplyRefact3.hs" "haskell"

0 commit comments

Comments
 (0)