summaryrefslogtreecommitdiff
path: root/tests/suite/scripting/params.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/scripting/params.typ')
-rw-r--r--tests/suite/scripting/params.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/suite/scripting/params.typ b/tests/suite/scripting/params.typ
index 688124f2..0f14fc3e 100644
--- a/tests/suite/scripting/params.typ
+++ b/tests/suite/scripting/params.typ
@@ -29,17 +29,17 @@
// Spread at beginning.
#{
let f(..a, b) = (a, b)
- test(repr(f(1)), "((), 1)")
- test(repr(f(1, 2, 3)), "((1, 2), 3)")
- test(repr(f(1, 2, 3, 4, 5)), "((1, 2, 3, 4), 5)")
+ test(repr(f(1)), "(arguments(), 1)")
+ test(repr(f(1, 2, 3)), "(arguments(1, 2), 3)")
+ test(repr(f(1, 2, 3, 4, 5)), "(arguments(1, 2, 3, 4), 5)")
}
--- params-sink-in-middle ---
// Spread in the middle.
#{
let f(a, ..b, c) = (a, b, c)
- test(repr(f(1, 2)), "(1, (), 2)")
- test(repr(f(1, 2, 3, 4, 5)), "(1, (2, 3, 4), 5)")
+ test(repr(f(1, 2)), "(1, arguments(), 2)")
+ test(repr(f(1, 2, 3, 4, 5)), "(1, arguments(2, 3, 4), 5)")
}
--- params-sink-unnamed-empty ---