From 29eace3bf2901f75aaa6f873b59b34f99967197e Mon Sep 17 00:00:00 2001 From: BerndN Date: Tue, 28 Nov 2017 12:04:37 +0100 Subject: [PATCH] Two more if variants for indentation test two more "funny" if variants that compile. on foo if foo() then code else code -- comment end foo on foo if foo() then code else code -- comment end foo --- .../_indentation_tests/if.livecodescript | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/scripteditor/_indentation_tests/if.livecodescript b/tests/scripteditor/_indentation_tests/if.livecodescript index 89dc0493e5..35beee5197 100644 --- a/tests/scripteditor/_indentation_tests/if.livecodescript +++ b/tests/scripteditor/_indentation_tests/if.livecodescript @@ -55,3 +55,16 @@ on foo then code else code -- comment end foo + +on foo + if foo() + then + code else code + -- comment +end foo + +on foo + if foo() then + code else code + -- comment +end foo