Add new acceptance test scenario: 062
``` Error: × Main thread panicked. ├─▶ at crates/uplc/src/optimize.rs:16:68 ╰─▶ called `Result::unwrap()` on an `Err` value: FreeUnique(Name { text: "tests_bar", unique: Unique(1) }) ```
This commit is contained in:
parent
3204322da6
commit
e7a61df1f3
|
@ -0,0 +1,5 @@
|
||||||
|
# This file was generated by Aiken
|
||||||
|
# You typically do not need to edit this file
|
||||||
|
|
||||||
|
requirements = []
|
||||||
|
packages = []
|
|
@ -0,0 +1,3 @@
|
||||||
|
name = 'aiken-lang/acceptance_test_062'
|
||||||
|
version = '0.0.0'
|
||||||
|
description = ''
|
|
@ -0,0 +1,11 @@
|
||||||
|
fn bar(n) {
|
||||||
|
n == 42
|
||||||
|
}
|
||||||
|
|
||||||
|
test foo() {
|
||||||
|
if bar(42) {
|
||||||
|
True
|
||||||
|
} else {
|
||||||
|
False
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue