Fix remaining acceptance tests to be V3-compatible
This commit is contained in:
@@ -21,6 +21,10 @@ validator foo_3(Foo { a0, .. }: Foo) {
|
||||
mint(_redeemer, _policy_, _tx) {
|
||||
a0 == 1
|
||||
}
|
||||
|
||||
else(_) {
|
||||
fail
|
||||
}
|
||||
}
|
||||
|
||||
test example_1() {
|
||||
@@ -32,14 +36,15 @@ test example_2() {
|
||||
}
|
||||
|
||||
test example_3() {
|
||||
foo_3_mint(Foo { a0: 1, a1: False }, "", "", "")
|
||||
foo_3.mint(Foo { a0: 1, a1: False }, "", "", "")
|
||||
}
|
||||
|
||||
test example_4() {
|
||||
let foo_4 = fn(Foo { a1, .. }) { a1 }
|
||||
let foo_4 =
|
||||
fn(Foo { a1, .. }) { a1 }
|
||||
foo_4(Foo { a0: 1, a1: True })
|
||||
}
|
||||
|
||||
test example_5((a, b) via fuzz.both(fuzz.int(), fuzz.int())) {
|
||||
a + b == b + a
|
||||
a + b == b + a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user