summaryrefslogtreecommitdiff
path: root/tests/typ/compute
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compute')
-rw-r--r--tests/typ/compute/calc.typ4
-rw-r--r--tests/typ/compute/construct.typ2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/compute/calc.typ b/tests/typ/compute/calc.typ
index cd97dfab..bdaf28a7 100644
--- a/tests/typ/compute/calc.typ
+++ b/tests/typ/compute/calc.typ
@@ -18,11 +18,11 @@
#test(calc.round(calc.pi, digits: 2), 3.14)
---
-// Error: 6-10 expected boolean, integer, float, or string, found length
+// Error: 6-10 expected boolean, float, string, or integer, found length
#int(10pt)
---
-// Error: 8-13 expected boolean, integer, float, ratio, or string, found function
+// Error: 8-13 expected boolean, integer, ratio, string, or float, found function
#float(float)
---
diff --git a/tests/typ/compute/construct.typ b/tests/typ/compute/construct.typ
index ddd4c591..ea9d2816 100644
--- a/tests/typ/compute/construct.typ
+++ b/tests/typ/compute/construct.typ
@@ -103,7 +103,7 @@
#test(str(10 / 3).len() > 10, true)
---
-// Error: 6-8 expected integer, float, label, or string, found content
+// Error: 6-8 expected integer, float, label, bytes, or string, found content
#str([])
---