Add test for failing replay
[lsp-test.git] / test / Test.hs
index fd2466677b3c80702f25482dc5e515225e8eb142..1fd58da97d33508f47683c03194ef191076e5553 100644 (file)
@@ -36,6 +36,8 @@ main = hspec $ do
           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 "fails a test" $
+      replaySession "test/recordings/renameFail" `shouldReturn` False
\ No newline at end of file