Live Templates: fix test data

This commit is contained in:
Alexander Zolotov
2017-07-04 12:43:37 +03:00
parent a4c33b0c7a
commit b8d59290fd
@@ -929,9 +929,13 @@ class Foo {
}
void "test invoke surround template by tab"() {
myFixture.configureByText "a.txt", "B<caret>"
myFixture.configureByText "a.java", "class A { public void B() { I<caret> } }"
myFixture.type('\t')
myFixture.checkResult("{<caret>}")
myFixture.checkResult("class A { public void B() {\n" +
" for (Object o :) {\n" +
" \n" +
" }\n" +
"} }")
}
void "test escape string characters in soutv"() {