Add new acceptance test scenario: expect unary constructors.
```
Error:
× Main thread panicked.
├─▶ at crates/aiken-lang/src/gen_uplc.rs:1852:33
╰─▶ called `Option::unwrap()` on a `None` value
```
This commit is contained in:
9
examples/acceptance_tests/080/lib/tests.ak
Normal file
9
examples/acceptance_tests/080/lib/tests.ak
Normal file
@@ -0,0 +1,9 @@
|
||||
test foo() {
|
||||
let bar =
|
||||
Void
|
||||
|
||||
expect Void =
|
||||
bar
|
||||
|
||||
True
|
||||
}
|
||||
Reference in New Issue
Block a user