Fix acceptance tests to use new syntax.

This commit is contained in:
KtorZ
2023-02-18 09:48:05 +01:00
parent 53fb821b62
commit 5132110d4b
17 changed files with 37 additions and 36 deletions

View File

@@ -23,11 +23,11 @@ validator spend {
[
when dict.get(ctx.transaction.withdrawals, alice) is {
None -> error "alice's withdrawal not found"
None -> error @"alice's withdrawal not found"
Some(value) -> value == 42
},
when dict.get(ctx.transaction.withdrawals, bob) is {
None -> error "bob's withdrawal not found"
None -> error @"bob's withdrawal not found"
Some(value) -> value == 14
},
dict.keys(ctx.transaction.withdrawals) == [alice, bob],