summaryrefslogtreecommitdiff
path: root/tests/typ/code/call-invalid.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-09 10:50:25 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-09 10:50:25 +0200
commit9950627789358b4d46c7fd8ba20d1428aee7bf01 (patch)
tree9cad73f1f7abe6b6768575776d0c3cd1af8c6c33 /tests/typ/code/call-invalid.typ
parent4fb58acafde3ca7020a980bd1e0a3585a47ca4f0 (diff)
Even shorter error annotations
Error annotations are now relative to the first following non-comment line.
Diffstat (limited to 'tests/typ/code/call-invalid.typ')
-rw-r--r--tests/typ/code/call-invalid.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/code/call-invalid.typ b/tests/typ/code/call-invalid.typ
index 34aa092d..dd5897b8 100644
--- a/tests/typ/code/call-invalid.typ
+++ b/tests/typ/code/call-invalid.typ
@@ -10,8 +10,8 @@
// Error: 8 expected comma
#args(1 2)
-// Error: 2:7-2:8 expected identifier
-// Error: 1:9 expected expression
+// Error: 7-8 expected identifier
+// Error: 9 expected expression
#args(1:)
// Error: 7-8 expected identifier
@@ -34,6 +34,6 @@
{args(}
---
-// Error: 3:1 expected quote
+// Error: 2:1 expected quote
// Error: 2:1 expected closing paren
#args("]