Change Signature: Fix file comparison in tests

This commit is contained in:
Alexey Sedunov
2015-10-30 17:23:58 +03:00
parent de24e70389
commit cae7fc7cf4
@@ -1600,7 +1600,7 @@ public class JetChangeSignatureTest extends KotlinCodeInsightTestCase {
checkResultByFile(afterFilePath);
}
catch (ComparisonFailure e) {
KotlinTestUtils.assertEqualsToFile(new File(afterFilePath), getEditor());
KotlinTestUtils.assertEqualsToFile(new File(getTestDataPath() + afterFilePath), getEditor());
}
if (checkErrorsAfter && currentFile instanceof KtFile) {
DirectiveBasedActionUtils.INSTANCE$.checkForUnexpectedErrors((KtFile) currentFile);