diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-05 17:47:33 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-05 17:47:33 +0100 |
| commit | 9a99beec94a5b02aa91a363b299d4795ef52c0fa (patch) | |
| tree | 0119a005ad8256b641a59d20645c5dbd16a7955c /tests/typ/compiler | |
| parent | 93138e2d4bb7dbc09ab6ef3c6e139881a8f3bc61 (diff) | |
Fix `array.pop()`
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/array.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/array.typ b/tests/typ/compiler/array.typ index 2fea8632..550d928a 100644 --- a/tests/typ/compiler/array.typ +++ b/tests/typ/compiler/array.typ @@ -100,7 +100,7 @@ // Test the `push` and `pop` methods. #{ let tasks = (a: (1, 2, 3), b: (4, 5, 6)) - tasks.at("a").pop() + test(tasks.at("a").pop(), 3) tasks.b.push(7) test(tasks.a, (1, 2)) test(tasks.at("b"), (4, 5, 6, 7)) |
