Reenable noDiagnostic checks

This commit is contained in:
Luke Lau 2019-12-20 21:27:50 +00:00
parent ddb4576e35
commit eefa285dc9

View File

@ -48,7 +48,7 @@ spec = describe "code actions" $ do
contents <- getDocumentEdit doc
liftIO $ contents `shouldBe` "main = undefined\nfoo x = x\n"
-- noDiagnostics
noDiagnostics
-- ---------------------------------
@ -67,7 +67,7 @@ spec = describe "code actions" $ do
contents <- skipManyTill publishDiagnosticsNotification $ getDocumentEdit doc
liftIO $ contents `shouldBe` "main = undefined\nfoo x = x\n"
-- noDiagnostics
noDiagnostics
-- ---------------------------------
@ -96,7 +96,7 @@ spec = describe "code actions" $ do
liftIO $ contents `shouldBe` "main = undefined\nfoo x = x\n"
sendNotification TextDocumentDidSave (DidSaveTextDocumentParams doc)
-- noDiagnostics
noDiagnostics
-- -----------------------------------