summaryrefslogtreecommitdiff
path: root/tests/typ/utility
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/utility
parent4fb58acafde3ca7020a980bd1e0a3585a47ca4f0 (diff)
Even shorter error annotations
Error annotations are now relative to the first following non-comment line.
Diffstat (limited to 'tests/typ/utility')
-rw-r--r--tests/typ/utility/color.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/utility/color.typ b/tests/typ/utility/color.typ
index 6523a08d..131dbc9c 100644
--- a/tests/typ/utility/color.typ
+++ b/tests/typ/utility/color.typ
@@ -8,8 +8,8 @@
// Alpha channel.
#test(rgb(1.0, 0.0, 0.0, 0.5), rgb("ff000080"))
-// Warning: 2:11-2:14 should be between 0.0 and 1.0
-// Warning: 1:16-1:20 should be between 0.0 and 1.0
+// Warning: 11-14 should be between 0.0 and 1.0
+// Warning: 16-20 should be between 0.0 and 1.0
#test(rgb(-30, 15.5, 0.5), rgb("00ff80"))
// Error: 11-15 missing argument: blue component
@@ -18,7 +18,7 @@
// Error: 11-16 invalid color
#test(rgb("lol"), error)
-// Error: 3:11-3:11 missing argument: red component
-// Error: 2:11-2:11 missing argument: green component
-// Error: 1:11-1:11 missing argument: blue component
+// Error: 11 missing argument: red component
+// Error: 11 missing argument: green component
+// Error: 11 missing argument: blue component
#test(rgb(), black)