test fix, wrong test data params order

This commit is contained in:
Yaroslav Lepenkin
2013-10-31 20:29:19 +04:00
parent e927837212
commit 804b35ab80
@@ -56,12 +56,12 @@ public class JavaFormatterInEditorTest extends LightPlatformCodeInsightTestCase
"}";
doTest(text, text);
String after = "class Test {\n" +
String before = "class Test {\n" +
" void test() {\n" +
" <caret> \n" +
" }\n" +
"}";
doTest(text, after);
doTest(before, text);
}
public void testCaretPositionPreserved_WhenSomeFormattingNeeded() throws IOException {