aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/passing_functions_mixed.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/passing_functions_mixed.sy
parent09c830296fdb55efbc7f590337ce72f5ec75c04b (diff)
downloadsylt-3974ce7c4f0623cef3fcf0abf95d8be6a54d3b44.tar.gz
auto indent the tests
Diffstat (limited to 'progs/tests/auto/passing_functions_mixed.sy')
-rw-r--r--progs/tests/auto/passing_functions_mixed.sy14
1 files changed, 7 insertions, 7 deletions
diff --git a/progs/tests/auto/passing_functions_mixed.sy b/progs/tests/auto/passing_functions_mixed.sy
index 292e7ce..b08128e 100644
--- a/progs/tests/auto/passing_functions_mixed.sy
+++ b/progs/tests/auto/passing_functions_mixed.sy
@@ -1,9 +1,9 @@
start :: fn {
-g := fn a: int -> int {
- ret a * 2
- }
- f := fn inner: fn int -> int, a: int -> int {
- ret inner(a)
- }
- f(g, 2) <=> 4
+ g := fn a: int -> int {
+ ret a * 2
+ }
+ f := fn inner: fn int -> int, a: int -> int {
+ ret inner(a)
+ }
+ f(g, 2) <=> 4
}