summaryrefslogtreecommitdiff
path: root/tests/typ/code/array.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-04 23:04:19 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-04 23:12:31 +0200
commit2a45650dcc87c3bf047adaf030fd392bbe9fbb5e (patch)
treec78ce67e341d2ad1e7f6ffb6058906075b76798a /tests/typ/code/array.typ
parente674fd7e909c273c36952f01829544a2efc11c92 (diff)
Keyed pairs
Diffstat (limited to 'tests/typ/code/array.typ')
-rw-r--r--tests/typ/code/array.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/code/array.typ b/tests/typ/code/array.typ
index 58b43ebf..1fa4d13c 100644
--- a/tests/typ/code/array.typ
+++ b/tests/typ/code/array.typ
@@ -92,3 +92,7 @@
// Named pair after this is already identified as an array.
// Error: 6-10 expected expression, found named pair
{(1, b: 2)}
+
+// Keyed pair after this is already identified as an array.
+// Error: 6-14 expected expression, found keyed pair
+{(1, "key": 2)}