--- a/test/stmt-for.test.expected
+++ b/test/stmt-for.test.expected
@@ -7,3 +7,4 @@
 
 i:=i+1;
 END_WHILE
+END_FUNCTION