Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Some tidying up for tests #1483

Merged
merged 2 commits into from
Dec 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/functional/FunctionalCodeActionsSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec = describe "code actions" $ do
contents <- getDocumentEdit doc
liftIO $ contents `shouldBe` "main = undefined\nfoo x = x\n"

-- noDiagnostics
noDiagnostics

-- ---------------------------------

Expand All @@ -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

-- ---------------------------------

Expand Down Expand Up @@ -96,7 +96,7 @@ spec = describe "code actions" $ do
liftIO $ contents `shouldBe` "main = undefined\nfoo x = x\n"
sendNotification TextDocumentDidSave (DidSaveTextDocumentParams doc)

-- noDiagnostics
noDiagnostics

-- -----------------------------------

Expand Down
2 changes: 1 addition & 1 deletion test/unit/LiquidSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

-- ---------------------------------

Expand Down