void () { String s = """ for (a in list) { println("hello1"); println("hello2"); }"""; doTest(s, """ for ($a$ in $b$) { $st1$; $st2$ }""", 1, 0); doTest(s, """ for ($a$ in $b$) { $st1$; $st2$; }""", 1, 1); doTest(s, """ for ($a$ in $b$) { $st1$ $st2$ }""", 1, 0); doTest(s, """ for ($a$ in $b$) { $st$ }""", 0, 0); doTest(s, """ for ($a$ in $b$) { '_T* }""", 1, 0); doTest(s, """ for ($a$ in $b$) { '_T+ }""", 1, 0); }