diff options
| author | Malo <57839069+MDLC01@users.noreply.github.com> | 2025-01-06 13:43:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-06 12:43:41 +0000 |
| commit | a2f685483a5d0ee23c299ce7631d738658d12d89 (patch) | |
| tree | 7af9602accc3e8e0f9319f634d07c79ffba34690 /tests/suite/scripting/call.typ | |
| parent | bb38a01d0625d5bdab0af50daf479e60c774d90e (diff) | |
Improve `repr` for `arguments` (#5652)
Diffstat (limited to 'tests/suite/scripting/call.typ')
| -rw-r--r-- | tests/suite/scripting/call.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/scripting/call.typ b/tests/suite/scripting/call.typ index 5a5fb326..af5f5eaa 100644 --- a/tests/suite/scripting/call.typ +++ b/tests/suite/scripting/call.typ @@ -141,7 +141,7 @@ #{ let save(..args) = { test(type(args), arguments) - test(repr(args), "(three: true, 1, 2)") + test(repr(args), "arguments(three: true, 1, 2)") } save(1, 2, three: true) @@ -159,7 +159,7 @@ #{ let more = (c: 3, d: 4) let tostr(..args) = repr(args) - test(tostr(a: 1, ..more, b: 2), "(a: 1, c: 3, d: 4, b: 2)") + test(tostr(a: 1, ..more, b: 2), "arguments(a: 1, c: 3, d: 4, b: 2)") } --- call-args-spread-none --- |
