summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2023-05-19 08:54:44 -0400
committerGitHub <noreply@github.com>2023-05-19 14:54:44 +0200
commit84b9d9c9906a2f39718b6b19e40c9f5f200d7f96 (patch)
tree754a9c4ac34162bed085478e1984b3311c688ccd /tests
parente32c6f8e8acc2b26fc41cb8f62c5aba7e248db59 (diff)
Print the string that is not castable to number (#1207)
Diffstat (limited to 'tests')
-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 c9a37d1b..9ff7c8bd 100644
--- a/tests/typ/compute/calc.typ
+++ b/tests/typ/compute/calc.typ
@@ -26,11 +26,11 @@
#float(float)
---
-// Error: 6-12 not a valid integer
+// Error: 6-12 invalid integer: nope
#int("nope")
---
-// Error: 8-15 not a valid float
+// Error: 8-15 invalid float: 1.2.3
#float("1.2.3")
---