summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/ops.typ
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2023-04-19 07:26:55 -0400
committerGitHub <noreply@github.com>2023-04-19 13:26:55 +0200
commitdc3017955a67e5509f6bc33cb9b4833806da4c22 (patch)
tree364304f23268107cb0443fc0037a86bd4136d9ef /tests/typ/compiler/ops.typ
parente4b09d417e9bfc2c0011299272f33c6861e96a6f (diff)
Give more specific error messages (#881)
Diffstat (limited to 'tests/typ/compiler/ops.typ')
-rw-r--r--tests/typ/compiler/ops.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/compiler/ops.typ b/tests/typ/compiler/ops.typ
index 1a9a2169..a6c64cbd 100644
--- a/tests/typ/compiler/ops.typ
+++ b/tests/typ/compiler/ops.typ
@@ -116,11 +116,11 @@
#test(0xA + 0xa, 0x14)
---
-// Error: 2-7 invalid binary number
+// Error: 2-7 invalid binary number: 0b123
#0b123
---
-// Error: 2-8 invalid hexadecimal number
+// Error: 2-8 invalid hexadecimal number: 0x123z
#0x123z
---
@@ -201,7 +201,7 @@
#(x += "thing") #test(x, "something")
---
-// Error: 3-6 cannot mutate a constant
+// Error: 3-6 cannot mutate a constant: box
#(box = 1)
---