Added 048 acceptance test
This commit is contained in:
9
examples/acceptance_tests/048/validators/foo.ak
Normal file
9
examples/acceptance_tests/048/validators/foo.ak
Normal file
@@ -0,0 +1,9 @@
|
||||
fn when_tuple(a: (Int, Int)) -> Int {
|
||||
when a is {
|
||||
(a, b) -> a
|
||||
}
|
||||
}
|
||||
|
||||
pub fn spend(a, b, c) -> Bool {
|
||||
when_tuple((4, 1)) == 4
|
||||
}
|
||||
Reference in New Issue
Block a user