Add new acceptance test scenario: 059
```
Error:
× Main thread panicked.
├─▶ at crates/aiken-lang/src/uplc.rs:1451:52
╰─▶ called `Option::unwrap()` on a `None` value
```
See also: #310
This commit is contained in:
5
examples/acceptance_tests/059/aiken.lock
Normal file
5
examples/acceptance_tests/059/aiken.lock
Normal file
@@ -0,0 +1,5 @@
|
||||
# This file was generated by Aiken
|
||||
# You typically do not need to edit this file
|
||||
|
||||
requirements = []
|
||||
packages = []
|
||||
2
examples/acceptance_tests/059/aiken.toml
Normal file
2
examples/acceptance_tests/059/aiken.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
name = "aiken-lang/acceptance_test_059"
|
||||
version = "0.0.0"
|
||||
7
examples/acceptance_tests/059/lib/tests.ak
Normal file
7
examples/acceptance_tests/059/lib/tests.ak
Normal file
@@ -0,0 +1,7 @@
|
||||
test foo() {
|
||||
let xs = [[1, 2], [4, 5]]
|
||||
when xs is {
|
||||
[[_, _], [_, _]] -> True
|
||||
_ -> False
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user