Skip to content
Draft
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
2 changes: 1 addition & 1 deletion tests/Test/DocumentsSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec =
liftIO $ isCreated res `shouldBe` True
insertedConflict <- tryEsError $ insertData' cfg
case insertedConflict of
Right (res', _) -> liftIO $ isVersionConflict res' `shouldBe` True
Right _ -> liftIO $ expectationFailure "This should never not happen."
Left e -> liftIO $ errorStatus e `shouldBe` Just 409

it "indexes two documents in a parent/child relationship and checks that the child exists" $
Expand Down