diff --git a/java/java-tests/testSrc/com/intellij/java/codeInsight/template/LiveTemplateTest.groovy b/java/java-tests/testSrc/com/intellij/java/codeInsight/template/LiveTemplateTest.groovy index 0d21bdba5a54..e7b3feb214ce 100644 --- a/java/java-tests/testSrc/com/intellij/java/codeInsight/template/LiveTemplateTest.groovy +++ b/java/java-tests/testSrc/com/intellij/java/codeInsight/template/LiveTemplateTest.groovy @@ -929,9 +929,13 @@ class Foo { } void "test invoke surround template by tab"() { - myFixture.configureByText "a.txt", "B" + myFixture.configureByText "a.java", "class A { public void B() { I } }" myFixture.type('\t') - myFixture.checkResult("{}") + myFixture.checkResult("class A { public void B() {\n" + + " for (Object o :) {\n" + + " \n" + + " }\n" + + "} }") } void "test escape string characters in soutv"() {