diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-10-05 12:49:39 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-10-05 12:49:39 +0200 |
| commit | ec884ec1d85f6e1d7868db3e82d572579cc5d345 (patch) | |
| tree | 92819f3a31abd6fdcd6b01adcd367bad344bef13 /tests/typ/code | |
| parent | 5a8534a395b500a25cbc46ee15ec031c8231de59 (diff) | |
Refactor syntax module
Diffstat (limited to 'tests/typ/code')
| -rw-r--r-- | tests/typ/code/array.typ | 4 | ||||
| -rw-r--r-- | tests/typ/code/block.typ | 2 | ||||
| -rw-r--r-- | tests/typ/code/call.typ | 2 |
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 |
