summaryrefslogtreecommitdiff
path: root/tests/suite/scripting/ops.typ
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2024-08-11 22:18:57 +0200
committerGitHub <noreply@github.com>2024-08-11 20:18:57 +0000
commit79fb2c36893140ce61765e2b437ef37c51235615 (patch)
treed2b3cbf8a5926fccf2bdb05446f65b805c104c53 /tests/suite/scripting/ops.typ
parent70931ac1f6f68f013e25fe5437e23ad148ce23e1 (diff)
Fix `calc.inf`, `-calc.inf`, and `calc.nan` reprs and displays (#4724)
Diffstat (limited to 'tests/suite/scripting/ops.typ')
-rw-r--r--tests/suite/scripting/ops.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/scripting/ops.typ b/tests/suite/scripting/ops.typ
index 0f13d212..0df4b82d 100644
--- a/tests/suite/scripting/ops.typ
+++ b/tests/suite/scripting/ops.typ
@@ -335,7 +335,7 @@
#(1em <= 10pt)
--- ops-compare-normal-float-with-nan ---
-// Error: 3-22 cannot compare 2.2 with NaN
+// Error: 3-22 cannot compare 2.2 with calc.nan
#(2.2 <= float("nan"))
--- ops-compare-int-and-str ---
@@ -343,7 +343,7 @@
#((0, 1, 3) > (0, 1, "a"))
--- ops-compare-array-nested-failure ---
-// Error: 3-42 cannot compare 3.5 with NaN
+// Error: 3-42 cannot compare 3.5 with calc.nan
#((0, "a", 3.5) <= (0, "a", float("nan")))
--- ops-divide-by-zero-float ---