mirror of
https://github.com/circuithub/rel8.git
synced 2024-09-11 16:05:41 +03:00
Drop some coverage conditions from tests (#89)
These are just making tests flaky. For now, they are removed. In the future we should make these tests more likely to have full coverage. Fixes #86.
This commit is contained in:
parent
18a414ae1d
commit
6950d691ba
@ -473,9 +473,6 @@ testDBEq getTestDatabase = testGroup "DBEq instances"
|
||||
[res] <- liftIO $ Rel8.select connection $ pure $ Rel8.litExpr x Rel8.==. Rel8.litExpr y
|
||||
res === (x == y)
|
||||
|
||||
cover 1 "Equal" $ x == y
|
||||
cover 1 "Not Equal" $ x /= y
|
||||
|
||||
|
||||
testTableEquality :: IO TmpPostgres.DB -> TestTree
|
||||
testTableEquality = databasePropertyTest "TestTable equality" \transaction -> do
|
||||
@ -487,9 +484,6 @@ testTableEquality = databasePropertyTest "TestTable equality" \transaction -> do
|
||||
|
||||
eq === (x == y)
|
||||
|
||||
cover 1 "Equal" $ x == y
|
||||
cover 1 "Not Equal" $ x /= y
|
||||
|
||||
|
||||
testFromString :: IO TmpPostgres.DB -> TestTree
|
||||
testFromString = databasePropertyTest "FromString" \transaction -> do
|
||||
|
Loading…
Reference in New Issue
Block a user