Add new acceptance test scenario 027
```
Error:
× Main thread panicked.
├─▶ at /Users/ktorz/Documents/Projects/aiken-lang/aiken/crates/project/src/lib.rs:640:36
╰─▶ called `Result::unwrap()` on an `Err` value: FreeUnique(Name { text: "test_foo", unique:
Unique(0) })
```
This commit is contained in:
11
examples/acceptance_tests/027/lib/test.ak
Normal file
11
examples/acceptance_tests/027/lib/test.ak
Normal file
@@ -0,0 +1,11 @@
|
||||
pub fn foo(_a : a) -> Bool {
|
||||
True
|
||||
}
|
||||
|
||||
test test_1() {
|
||||
foo(1)
|
||||
}
|
||||
|
||||
test test_2() {
|
||||
foo(1) && foo(2)
|
||||
}
|
||||
Reference in New Issue
Block a user