aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/else_if.sy
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-03-07 17:47:08 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-03-07 23:17:37 +0100
commit3974ce7c4f0623cef3fcf0abf95d8be6a54d3b44 (patch)
tree2d0c3ff5b222f9508f12ee9d48cd584934dd1882 /progs/tests/auto/else_if.sy
parent09c830296fdb55efbc7f590337ce72f5ec75c04b (diff)
downloadsylt-3974ce7c4f0623cef3fcf0abf95d8be6a54d3b44.tar.gz
auto indent the tests
Diffstat (limited to 'progs/tests/auto/else_if.sy')
-rw-r--r--progs/tests/auto/else_if.sy20
1 files changed, 10 insertions, 10 deletions
diff --git a/progs/tests/auto/else_if.sy b/progs/tests/auto/else_if.sy
index 18b64f6..f31453e 100644
--- a/progs/tests/auto/else_if.sy
+++ b/progs/tests/auto/else_if.sy
@@ -1,12 +1,12 @@
start :: fn {
-a := 1
- res := 0
- if a == 0 {
- <!>
- } else if a == 1 {
- res = 1
- } else {
- <!>
- }
- res <=> 1
+ a := 1
+ res := 0
+ if a == 0 {
+ <!>
+ } else if a == 1 {
+ res = 1
+ } else {
+ <!>
+ }
+ res <=> 1
}