summaryrefslogtreecommitdiff
path: root/tests/typ/code/call.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-04 23:26:15 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-04 23:26:15 +0200
commit1bca9ccecb9edb583a0a94bd3611147b66909ab9 (patch)
treec9068332196eb754d65c6b51f124e39e91d3cd1a /tests/typ/code/call.typ
parent2a45650dcc87c3bf047adaf030fd392bbe9fbb5e (diff)
Improve diagnostics
Diffstat (limited to 'tests/typ/code/call.typ')
-rw-r--r--tests/typ/code/call.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ
index 0285c8a2..5a3f45f9 100644
--- a/tests/typ/code/call.typ
+++ b/tests/typ/code/call.typ
@@ -79,17 +79,17 @@
// Error: 8 expected comma
#func(1 2)
-// Error: 7-8 expected identifier
+// Error: 7-8 expected identifier, found integer
// Error: 9 expected expression
#func(1:)
-// Error: 7-8 expected identifier
+// Error: 7-8 expected identifier, found integer
#func(1:2)
-// Error: 7-12 expected identifier
-#func("abc":2)
+// Error: 7-12 expected identifier, found string
+#func("abc": 2)
-// Error: 7-10 expected identifier
+// Error: 7-10 expected identifier, found group
{func((x):1)}
---