Fix acceptance tests to use new syntax.
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user