projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for failing replay
[lsp-test.git]
/
test
/
Test.hs
diff --git
a/test/Test.hs
b/test/Test.hs
index fd2466677b3c80702f25482dc5e515225e8eb142..1fd58da97d33508f47683c03194ef191076e5553 100644
(file)
--- a/
test/Test.hs
+++ b/
test/Test.hs
@@
-36,6
+36,8
@@
main = hspec $ do
mainSymbol ^. location . range `shouldBe` Range (Position 3 0) (Position 3 4)
mainSymbol ^. containerName `shouldBe` Nothing
mainSymbol ^. location . range `shouldBe` Range (Position 3 0) (Position 3 4)
mainSymbol ^. containerName `shouldBe` Nothing
- describe "replay session" $
+ describe "replay session" $
do
it "passes a test" $
replaySession "test/recordings/renamePass" `shouldReturn` True
it "passes a test" $
replaySession "test/recordings/renamePass" `shouldReturn` True
+ it "fails a test" $
+ replaySession "test/recordings/renameFail" `shouldReturn` False
\ No newline at end of file