summaryrefslogtreecommitdiff
path: root/tests/typ/code/dict.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/dict.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/dict.typ')
-rw-r--r--tests/typ/code/dict.typ8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/code/dict.typ b/tests/typ/code/dict.typ
index b2fd3566..b775f4af 100644
--- a/tests/typ/code/dict.typ
+++ b/tests/typ/code/dict.typ
@@ -13,8 +13,8 @@
{(a: 1, b)}
// Identified as dictionary due to initial colon.
-// Error: 4:4-4:5 expected named pair, found expression
-// Error: 3:5 expected comma
-// Error: 2:12-2:16 expected identifier
-// Error: 1:17-1:18 expected expression, found colon
+// Error: 4-5 expected named pair, found expression
+// Error: 5 expected comma
+// Error: 12-16 expected identifier
+// Error: 17-18 expected expression, found colon
{(:1 b:"", true::)}