summaryrefslogtreecommitdiff
path: root/tests/library
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-20 21:33:13 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-20 21:33:13 +0100
commit84ba547c7c80e45cc8edafcde8714973bb2a3a2f (patch)
treee5b7eb97799def1907f9138cbe1fa001060c0196 /tests/library
parentdd246e5bc944f90be7ba2981c2b73520a4bfbf45 (diff)
If expressions 🔀
Diffstat (limited to 'tests/library')
-rw-r--r--tests/library/typ/font.typ2
-rw-r--r--tests/library/typ/rgb.typ4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/library/typ/font.typ b/tests/library/typ/font.typ
index beaddd4e..4be98941 100644
--- a/tests/library/typ/font.typ
+++ b/tests/library/typ/font.typ
@@ -27,7 +27,7 @@
// Error: 1:43-1:44 expected font family or array of font families, found integer
[font style: bold, weight: "thin", serif: 0]
-// Warning: 1:15-1:19 must be between 100 and 900
+// Warning: 1:15-1:19 should be between 100 and 900
[font weight: 2700]
// Error: 1:7-1:27 unexpected argument
diff --git a/tests/library/typ/rgb.typ b/tests/library/typ/rgb.typ
index 66d63d0d..f778b2d1 100644
--- a/tests/library/typ/rgb.typ
+++ b/tests/library/typ/rgb.typ
@@ -4,8 +4,8 @@
// Alpha channel.
[rgb 1.0, 0.0, 0.0, 0.5]
-// Warning: 2:6-2:9 must be between 0.0 and 1.0
-// Warning: 1:11-1:15 must be between 0.0 and 1.0
+// Warning: 2:6-2:9 should be between 0.0 and 1.0
+// Warning: 1:11-1:15 should be between 0.0 and 1.0
[rgb -30, 15.5, 0.5]
// Error: 1:6-1:10 missing argument: blue component