summaryrefslogtreecommitdiff
path: root/tests/typ/compute
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-02-25 12:50:11 +0100
committerGitHub <noreply@github.com>2024-02-25 11:50:11 +0000
commitca5d682edb1553cd73c581a1726537e6415fe848 (patch)
treef6914bb9727bd533543136d482baba21b0b3fc0f /tests/typ/compute
parent010da18d997eda16b894ec8be41f3e3d84e0ccd7 (diff)
Fix cast order for `ToInt` (#3485)
Diffstat (limited to 'tests/typ/compute')
-rw-r--r--tests/typ/compute/calc.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compute/calc.typ b/tests/typ/compute/calc.typ
index acd9b2a8..94a13105 100644
--- a/tests/typ/compute/calc.typ
+++ b/tests/typ/compute/calc.typ
@@ -53,11 +53,11 @@
#test(calc.round(calc.pi, digits: 2), 3.14)
---
-// Error: 6-10 expected boolean, float, string, or integer, found length
+// Error: 6-10 expected integer, boolean, float, or string, found length
#int(10pt)
---
-// Error: 8-13 expected boolean, integer, ratio, string, or float, found type
+// Error: 8-13 expected float, boolean, integer, ratio, or string, found type
#float(float)
---