From b8d59290fdff461f1f3d49b2ba5eab573ff3351b Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Tue, 4 Jul 2017 12:43:04 +0300 Subject: [PATCH] Live Templates: fix test data --- .../java/codeInsight/template/LiveTemplateTest.groovy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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"() {