summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code')
-rw-r--r--tests/typ/code/array.typ4
-rw-r--r--tests/typ/code/block.typ2
-rw-r--r--tests/typ/code/call.typ2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/code/array.typ b/tests/typ/code/array.typ
index 1fa4d13c..cb8433cb 100644
--- a/tests/typ/code/array.typ
+++ b/tests/typ/code/array.typ
@@ -76,10 +76,10 @@
{)}
// Error: 4 expected comma
-// Error: 4-6 expected expression, found end of block comment
+// Error: 4-6 unexpected end of block comment
{(1*/2)}
-// Error: 6-8 expected expression, found invalid token
+// Error: 6-8 invalid number suffix
{(1, 1u 2)}
// Error: 3-4 expected expression, found comma
diff --git a/tests/typ/code/block.typ b/tests/typ/code/block.typ
index 194cde7a..d82d497f 100644
--- a/tests/typ/code/block.typ
+++ b/tests/typ/code/block.typ
@@ -112,7 +112,7 @@
---
// Multiple unseparated expressions in one line.
-// Error: 2-4 expected expression, found invalid token
+// Error: 2-4 invalid number suffix
{1u}
// Should output `1`.
diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ
index 5a3f45f9..dc582c9c 100644
--- a/tests/typ/code/call.typ
+++ b/tests/typ/code/call.typ
@@ -73,7 +73,7 @@
// Error: 7-8 expected expression, found colon
#func(:)
-// Error: 10-12 expected expression, found end of block comment
+// Error: 10-12 unexpected end of block comment
#func(a:1*/)
// Error: 8 expected comma