Skip to content

Commit

Permalink
fix compilation errors in marlowe tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianAlgehed committed Sep 15, 2021
1 parent 48b0462 commit 501892e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions marlowe/test/Spec/Marlowe/Marlowe.hs
Expand Up @@ -95,7 +95,7 @@ bob = w2


zeroCouponBondTest :: TestTree
zeroCouponBondTest = checkPredicateOptions (defaultCheckOptions & maxSlot .~ 250) "Zero Coupon Bond Contract"
zeroCouponBondTest = checkPredicateOptions defaultCheckOptions "Zero Coupon Bond Contract"
(assertNoFailedTransactions
-- T..&&. emulatorLog (const False) ""
T..&&. assertDone marlowePlutusContract (Trace.walletInstanceTag alice) (const True) "contract should close"
Expand Down Expand Up @@ -136,7 +136,7 @@ zeroCouponBondTest = checkPredicateOptions (defaultCheckOptions & maxSlot .~ 250


errorHandlingTest :: TestTree
errorHandlingTest = checkPredicateOptions (defaultCheckOptions & maxSlot .~ 250) "Error handling"
errorHandlingTest = checkPredicateOptions defaultCheckOptions "Error handling"
(assertAccumState marlowePlutusContract (Trace.walletInstanceTag alice)
(\case (SomeError (TransitionError _)) -> True
_ -> False
Expand Down Expand Up @@ -167,7 +167,7 @@ errorHandlingTest = checkPredicateOptions (defaultCheckOptions & maxSlot .~ 250)


trustFundTest :: TestTree
trustFundTest = checkPredicateOptions (defaultCheckOptions & maxSlot .~ 200) "Trust Fund Contract"
trustFundTest = checkPredicateOptions defaultCheckOptions "Trust Fund Contract"
(assertNoFailedTransactions
-- T..&&. emulatorLog (const False) ""
T..&&. assertNotDone marlowePlutusContract (Trace.walletInstanceTag alice) "contract should not have any errors"
Expand Down

0 comments on commit 501892e

Please sign in to comment.