summaryrefslogtreecommitdiff
path: root/tests/suite/scripting
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2025-01-06 16:41:58 +0100
committerGitHub <noreply@github.com>2025-01-06 15:41:58 +0000
commite09b55f00f4213a76285e90825dfab570a051359 (patch)
treed3b1bdb65d307386b626b7b47ab71859aa1a1696 /tests/suite/scripting
parent5c876535cc89912b32bc29a17c753ae9b1f03938 (diff)
Allow adding and joining `arguments` (#5651)
Diffstat (limited to 'tests/suite/scripting')
-rw-r--r--tests/suite/scripting/arguments.typ18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/suite/scripting/arguments.typ b/tests/suite/scripting/arguments.typ
deleted file mode 100644
index e82f4962..00000000
--- a/tests/suite/scripting/arguments.typ
+++ /dev/null
@@ -1,18 +0,0 @@
-// Test arguments.
-
---- arguments-at ---
-#let args = arguments(0, 1, a: 2, 3)
-#test(args.at(0), 0)
-#test(args.at(1), 1)
-#test(args.at(2), 3)
-#test(args.at("a"), 2)
-
---- arguments-at-invalid-index ---
-#let args = arguments(0, 1, a: 2, 3)
-// Error: 2-12 arguments do not contain key 4 and no default value was specified
-#args.at(4)
-
---- arguments-at-invalid-name ---
-#let args = arguments(0, 1, a: 2, 3)
-// Error: 2-14 arguments do not contain key "b" and no default value was specified
-#args.at("b")