mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-09-11 11:05:30 +03:00
Merge pull request #1483 from haskell/liquid-no-diagnostic-test-fixes
Some tidying up for tests
This commit is contained in:
commit
d36f5c0583
@ -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
|
||||
|
||||
-- -----------------------------------
|
||||
|
||||
|
@ -33,7 +33,7 @@ spec = do
|
||||
Nothing -> expectationFailure "liquid haskell exe is NOT in $PATH"
|
||||
Just exe -> do
|
||||
version <- readProcess exe ["--numeric-version"] ""
|
||||
version `shouldSatisfy` isPrefixOf "0.8.6.2"
|
||||
version `shouldSatisfy` ("0.8.6" `isPrefixOf`)
|
||||
|
||||
-- ---------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user