summaryrefslogtreecommitdiff
path: root/tests/typ/text
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/text
parent4fb58acafde3ca7020a980bd1e0a3585a47ca4f0 (diff)
Even shorter error annotations
Error annotations are now relative to the first following non-comment line.
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/font.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ
index f765c600..a349eae4 100644
--- a/tests/typ/text/font.typ
+++ b/tests/typ/text/font.typ
@@ -59,9 +59,9 @@ Emoji: 🐪, 🌋, 🏞
// Error: 7-12 unexpected argument
#font(false)[]
-// Error: 3:14-3:18 expected font style, found font weight
-// Error: 2:28-2:34 expected font weight, found string
-// Error: 1:43-1:44 expected string or array of strings, found integer
+// Error: 14-18 expected font style, found font weight
+// Error: 28-34 expected font weight, found string
+// Error: 43-44 expected string or array of strings, found integer
#font(style: bold, weight: "thin", serif: 0)[]
// Warning: 15-19 should be between 100 and 900