diff options
Diffstat (limited to 'tests/lang/typ/spacing.typ')
| -rw-r--r-- | tests/lang/typ/spacing.typ | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/lang/typ/spacing.typ b/tests/lang/typ/spacing.typ index 54e49f2d..d44cd84c 100644 --- a/tests/lang/typ/spacing.typ +++ b/tests/lang/typ/spacing.typ @@ -3,11 +3,11 @@ --- // Spacing around let. -// Error: 6-6 expected identifier +// Error: 6 expected identifier A#let;B \ -A#let x = 1;B #[test x, 1] \ -A #let x = 2;B #[test x, 2] \ -A#let x = 3; B #[test x, 3] \ +A#let x = 1;B #test(x, 1) \ +A #let x = 2;B #test(x, 2) \ +A#let x = 3; B #test(x, 3) \ --- // Spacing around if-else. @@ -22,6 +22,6 @@ A#if true [B] #else [] C \ --- // Spacing around for loop. -A#for _ #in (none,) [B]C \ -A#for _ #in (none,) [B] C \ -A #for _ #in (none,) [B]C \ +A#for _ in (none,) [B]C \ +A#for _ in (none,) [B] C \ +A #for _ in (none,) [B]C \ |
