diff options
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/compute/calc.typ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/typ/compute/calc.typ b/tests/typ/compute/calc.typ index 31c5c967..18c2e2c9 100644 --- a/tests/typ/compute/calc.typ +++ b/tests/typ/compute/calc.typ @@ -9,6 +9,7 @@ #test(int("150"), 150) #test(int(10 / 3), 3) #test(float(10), 10.0) +#test(float(50% * 30%), 0.15) #test(float("31.4e-1"), 3.14) #test(type(float(10)), "float") @@ -21,7 +22,7 @@ #int(10pt) --- -// Error: 8-13 expected boolean, integer, float, or string, found function +// Error: 8-13 expected boolean, integer, float, ratio, or string, found function #float(float) --- |
