File tree 1 file changed +0
-14
lines changed
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" [
81
81
contents <- skipManyTill anyMessage $ getDocumentEdit doc
82
82
liftIO $ contents @?= " main = undefined\n foo = id\n "
83
83
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
-
98
84
, knownBrokenForGhcVersions [GHC88 , GHC86 ] " hlint doesn't take in account cpp flag as ghc -D argument" $
99
85
testCase " hlint diagnostics works with CPP via ghc -XCPP argument (#554)" $ runHlintSession " cpp" $ do
100
86
doc <- openDoc " ApplyRefact3.hs" " haskell"
You can’t perform that action at this time.
0 commit comments