File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -81,20 +81,6 @@ hlintTests = testGroup "hlint suggestions" [
8181 contents <- skipManyTill anyMessage $ getDocumentEdit doc
8282 liftIO $ contents @?= " main = undefined\n foo = 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"
You can’t perform that action at this time.
0 commit comments