chore: use fmt to update examples
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user