summaryrefslogtreecommitdiff
path: root/tests/typ/code/call.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-11 16:11:16 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-11 16:11:16 +0200
commitcd62792c0aefffe8b0a5c7fc76e95dfa7b86a181 (patch)
tree5fdc0b4f3422eb8bc7cdb06fce8829d32ef6c9e3 /tests/typ/code/call.typ
parent938b0af889b8fbe6265695b1b8e54aee338ba87f (diff)
Prevent duplicate named arguments and dictionary keys
Diffstat (limited to 'tests/typ/code/call.typ')
-rw-r--r--tests/typ/code/call.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ
index 51ef1df5..55471774 100644
--- a/tests/typ/code/call.typ
+++ b/tests/typ/code/call.typ
@@ -45,6 +45,10 @@
}
---
+// Error: 28-47 duplicate argument
+#set text(family: "Arial", family: "Helvetica")
+
+---
// Error: 2-6 expected callable or collection, found boolean
{true()}