Add new acceptance scenario: 044
❌ 044
Error:
× Main thread panicked.
├─▶ at crates/aiken-lang/src/uplc.rs:846:89
╰─▶ called `Option::unwrap()` on a `None` value
This commit is contained in:
16
examples/acceptance_tests/044/lib/tests.ak
Normal file
16
examples/acceptance_tests/044/lib/tests.ak
Normal file
@@ -0,0 +1,16 @@
|
||||
test foo_1() {
|
||||
let a = False
|
||||
when a is {
|
||||
True -> False
|
||||
False -> True
|
||||
}
|
||||
}
|
||||
|
||||
test foo_2() {
|
||||
let a = False
|
||||
let b = when a is {
|
||||
True -> 14
|
||||
False -> 42
|
||||
}
|
||||
b == 42
|
||||
}
|
||||
Reference in New Issue
Block a user