one more test case to add

This commit is contained in:
Kasey White 2023-02-11 20:13:46 -05:00 committed by Lucas
parent 4b1015e0d4
commit 1c9540ec87
1 changed files with 8 additions and 0 deletions

View File

@ -55,3 +55,11 @@ test expect_list2() {
expect [a, ..d] = initial_car expect [a, ..d] = initial_car
a == 5 && d == [6, 7] a == 5 && d == [6, 7]
} }
test expect_list3() {
let initial_car = builtin.list_data([builtin.i_data(5), builtin.i_data(6), builtin.i_data(7)])
expect [a, ..d]: List<Int> = initial_car
a == 5 && d == [6, 7]
}