summaryrefslogtreecommitdiff
path: root/tests/typ/code/dict.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/dict.typ')
-rw-r--r--tests/typ/code/dict.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/code/dict.typ b/tests/typ/code/dict.typ
index b369b8b6..aa840eb3 100644
--- a/tests/typ/code/dict.typ
+++ b/tests/typ/code/dict.typ
@@ -36,6 +36,10 @@
}
---
+// Error: 24-32 pair has duplicate key
+{(first: 1, second: 2, first: 3)}
+
+---
// Simple expression after already being identified as a dictionary.
// Error: 9-10 expected named pair, found expression
{(a: 1, b)}