Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Aug 8, 2022
1 parent 21fab53 commit 3f750fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Plutip.purs
Expand Up @@ -167,8 +167,8 @@ suite = do
[ TransactionUnspentOutput
{ output: TransactionOutput { amount } }
] -> do
when (amount /= lovelaceValueOf (BigInt.fromInt 1_000_000_000)) do
throw "Wrong UTxO selected as collateral"
unless (amount == lovelaceValueOf (BigInt.fromInt 1_000_000_000))
$ throw "Wrong UTxO selected as collateral"
Just _ -> do
-- not a bug, but unexpected
throw "More than one UTxO in collateral"
Expand Down

0 comments on commit 3f750fb

Please sign in to comment.