diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-17 16:32:48 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-17 16:32:48 +0100 |
| commit | 028632a3a10202ee21eaaf7ecf13ca7fe331106e (patch) | |
| tree | ecba2b74b52b2c94b8ccf63dc8099d8ef608081c /tests/typ/compiler/block.typ | |
| parent | dd5f07eb9110cc5e19dcb4441743a323128426fc (diff) | |
Fix error handling after hashtag
Diffstat (limited to 'tests/typ/compiler/block.typ')
| -rw-r--r-- | tests/typ/compiler/block.typ | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/typ/compiler/block.typ b/tests/typ/compiler/block.typ index 204cab1e..bb23c0fe 100644 --- a/tests/typ/compiler/block.typ +++ b/tests/typ/compiler/block.typ @@ -83,8 +83,8 @@ test(b, 1) }} -// Error: 3-4 unknown variable -#{b} +// Error: 2-3 unknown variable +#b --- // Multiple nested scopes. @@ -106,14 +106,14 @@ // Content blocks also create a scope. #[#let x = 1] -// Error: 3-4 unknown variable -#{x} +// Error: 2-3 unknown variable +#x --- // Multiple unseparated expressions in one line. -// Error: 3-5 invalid number suffix -#{1u} +// Error: 2-4 invalid number suffix +#1u // Should output `1`. // Error: 4 expected semicolon or line break @@ -142,5 +142,5 @@ #{ --- -// Error: 2 expected expression +// Error: 2-3 unexpected closing brace #} |
