Skip to content

Commit

Permalink
Made property output better understandable again
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jan 26, 2022
1 parent 250abf6 commit 597c708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra-node/test/Hydra/Chain/Direct/Contract/Mutation.hs
Expand Up @@ -94,7 +94,7 @@ propTransactionDoesNotValidate (tx, lookupUtxo) =
& counterexample ("Tx: " <> toString (describeCardanoTx tx))
& counterexample ("Lookup utxo: " <> decodeUtf8 (encodePretty lookupUtxo))
& counterexample ("Redeemer report: " <> show redeemerReport)
& counterexample "Phase-2 validation succeeded"
& counterexample "Phase-2 validation should have failed"

-- | A 'Property' checking some (transaction, UTxO) pair is valid.
propTransactionValidates :: (CardanoTx, Utxo) -> Property
Expand Down

0 comments on commit 597c708

Please sign in to comment.