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:
parent
c440026e36
commit
75808cc046
|
@ -0,0 +1,5 @@
|
|||
# This file was generated by Aiken
|
||||
# You typically do not need to edit this file
|
||||
|
||||
requirements = []
|
||||
packages = []
|
|
@ -0,0 +1,2 @@
|
|||
name = "aiken-lang/acceptance_test_044"
|
||||
version = "0.0.0"
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue