From 0287b98ef31172c6da4d5a4c76d8d88d1d5c9049 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Mon, 30 Jan 2023 21:04:34 +0100 Subject: Add calc module --- tests/typ/compiler/array.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/compiler/array.typ') diff --git a/tests/typ/compiler/array.typ b/tests/typ/compiler/array.typ index 3d4d6106..2fea8632 100644 --- a/tests/typ/compiler/array.typ +++ b/tests/typ/compiler/array.typ @@ -148,8 +148,8 @@ --- // Test the `filter` method. -#test(().filter(even), ()) -#test((1, 2, 3, 4).filter(even), (2, 4)) +#test(().filter(calc.even), ()) +#test((1, 2, 3, 4).filter(calc.even), (2, 4)) #test((7, 3, 2, 5, 1).filter(x => x < 5), (3, 2, 1)) --- -- cgit v1.2.3