diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-02-25 12:50:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-25 11:50:11 +0000 |
| commit | ca5d682edb1553cd73c581a1726537e6415fe848 (patch) | |
| tree | f6914bb9727bd533543136d482baba21b0b3fc0f /tests/typ/compute | |
| parent | 010da18d997eda16b894ec8be41f3e3d84e0ccd7 (diff) | |
Fix cast order for `ToInt` (#3485)
Diffstat (limited to 'tests/typ/compute')
| -rw-r--r-- | tests/typ/compute/calc.typ | 4 |
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) --- |
