diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-09-11 14:42:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-09-11 14:42:43 +0200 |
| commit | 305524d005df075d53575552ee090fb53192a3fe (patch) | |
| tree | 08b739e8fc41057b79a2d7ea7a7208ca358d60b3 /tests/typ/compute/calc.typ | |
| parent | b471ac7d590abd2398ce25193b4e4df373bf2e9c (diff) | |
Update tests for type system changes
Diffstat (limited to 'tests/typ/compute/calc.typ')
| -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 bdaf28a7..536c637a 100644 --- a/tests/typ/compute/calc.typ +++ b/tests/typ/compute/calc.typ @@ -11,7 +11,7 @@ #test(float(10), 10.0) #test(float(50% * 30%), 0.15) #test(float("31.4e-1"), 3.14) -#test(type(float(10)), "float") +#test(type(float(10)), float) --- #test(calc.round(calc.e, digits: 2), 2.72) @@ -22,7 +22,7 @@ #int(10pt) --- -// Error: 8-13 expected boolean, integer, ratio, string, or float, found function +// Error: 8-13 expected boolean, integer, ratio, string, or float, found type #float(float) --- |
