diff options
Diffstat (limited to 'tests/lang/typ/blocks.typ')
| -rw-r--r-- | tests/lang/typ/blocks.typ | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/lang/typ/blocks.typ b/tests/lang/typ/blocks.typ index 79c092a2..7ef34b8a 100644 --- a/tests/lang/typ/blocks.typ +++ b/tests/lang/typ/blocks.typ @@ -1,21 +1,17 @@ +// Empty. +{} + // Basic expression. {1} -// Error: 1:2-1:2 expected expression -{} - // Bad expression. // Error: 1:2-1:4 expected expression, found invalid token {1u} -// Two expressions are not allowed. -// Error: 1:4-1:5 unexpected integer -{2 3} - // Missing closing brace in nested block. // Error: 1:5-1:5 expected closing brace -{({1) + 2} +{({1) + 1} // Missing closing bracket in template expression. // Error: 1:11-1:11 expected closing bracket -{[_] + [4_} +{[_] + [3_} |
