diff options
Diffstat (limited to 'tests/typ/code/while.typ')
| -rw-r--r-- | tests/typ/code/while.typ | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/typ/code/while.typ b/tests/typ/code/while.typ index 2f0984d2..ccb67968 100644 --- a/tests/typ/code/while.typ +++ b/tests/typ/code/while.typ @@ -4,19 +4,19 @@ // Should output `2 4 6 8 10`. #let i = 0 #while i < 10 [ - { i += 2 } - #i + { i += 2 } + #i ] // Should output `Hi`. #let iter = true #while iter { - iter = false - "Hi." + iter = false + "Hi." } #while false { - dont-care + dont-care } --- @@ -36,8 +36,8 @@ --- // Make sure that we terminate and don't complain multiple times. #while true { - // Error: 5-9 unknown variable - nope + // Error: 3-7 unknown variable + nope } --- |
