chore: use fmt to update examples

This commit is contained in:
rvcas
2023-07-11 19:52:19 -04:00
committed by Lucas
parent 1ab1ff9a1f
commit 0be09cd9e5
4 changed files with 7 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ fn assert_outputs(outputs) {
when outputs is {
[output_1, output_2, ..] ->
assert_first_output(output_1) && assert_second_output(output_2)
_ -> error @"expected transaction to have (at least) 2 outputs"
_ -> fail @"expected transaction to have (at least) 2 outputs"
}
}
@@ -67,7 +67,7 @@ fn assert_second_output(output) {
),
when output.datum is {
InlineDatum(_) -> True
_ -> error @"expected inline datum"
_ -> fail @"expected inline datum"
},
]
|> list.and