From 3974ce7c4f0623cef3fcf0abf95d8be6a54d3b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sun, 7 Mar 2021 17:47:08 +0100 Subject: auto indent the tests --- progs/tests/auto/constants_in_inner_functions.sy | 26 ++++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'progs/tests/auto/constants_in_inner_functions.sy') diff --git a/progs/tests/auto/constants_in_inner_functions.sy b/progs/tests/auto/constants_in_inner_functions.sy index 3371393..99704e7 100644 --- a/progs/tests/auto/constants_in_inner_functions.sy +++ b/progs/tests/auto/constants_in_inner_functions.sy @@ -1,20 +1,20 @@ start :: fn { -q : int = 0 + q : int = 0 -f :: fn -> fn -> { - g :: fn { - q += 1 + f :: fn -> fn -> { + g :: fn { + q += 1 + } + ret g } - ret g -} -g := f() -g() -q <=> 1 -g() -q <=> 2 -g() -q <=> 3 + g := f() + g() + q <=> 1 + g() + q <=> 2 + g() + q <=> 3 } -- cgit v1.2.1