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:
KtorZ 2023-01-17 16:57:06 +01:00 committed by Lucas
parent c440026e36
commit 75808cc046
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# This file was generated by Aiken
# You typically do not need to edit this file
requirements = []
packages = []

View File

@ -0,0 +1,2 @@
name = "aiken-lang/acceptance_test_044"
version = "0.0.0"

View 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
}