summaryrefslogtreecommitdiff
path: root/tests/typ/code/while.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-30 18:37:04 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-30 18:49:20 +0200
commite35fca54a0c5b3cd5251a58837e9c1ef2b6c3c6d (patch)
tree21afd717101000209cd35d07df8034864f29c41f /tests/typ/code/while.typ
parent1ee1d078e2480ddd08d40915bc7a74a8352acff0 (diff)
Change indent from 4 to 2 spaces
Diffstat (limited to 'tests/typ/code/while.typ')
-rw-r--r--tests/typ/code/while.typ14
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
}
---