[fixed failing test: formatOptimizeRearrangeVcsChanges] fixed test data, since diff now shows one more line

This commit is contained in:
Yaroslav Lepenkin
2016-07-01 13:50:59 +03:00
parent 758b926472
commit 572f27ebdb
2 changed files with 7 additions and 3 deletions
@@ -5,6 +5,6 @@ public class Main {
protected Object obj = null;
private long e = 4;
public static void main(String[] args) {
public static void main(String[] args) {
}
}
@@ -31,8 +31,12 @@ public class ReformatCodeActionInEditorTest extends LightPlatformCodeInsightFixt
@Override
public void tearDown() throws Exception {
myFixture.getFile().putUserData(FormatChangedTextUtil.TEST_REVISION_CONTENT, null);
super.tearDown();
try {
myFixture.getFile().putUserData(FormatChangedTextUtil.TEST_REVISION_CONTENT, null);
}
finally {
super.tearDown();
}
}
public void doTest(LayoutCodeOptions options) {