From 9a99beec94a5b02aa91a363b299d4795ef52c0fa Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 5 Feb 2023 17:47:33 +0100 Subject: Fix `array.pop()` --- tests/typ/compiler/array.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/compiler/array.typ') 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)) -- cgit v1.2.3