Fixed CliTest.

This commit is contained in:
Evgeny Gerashchenko
2012-06-20 20:07:43 +04:00
parent 95249099eb
commit 4e6291b6ce
@@ -64,7 +64,7 @@ public class CliTest {
private void executeCompilerCompareOutput(@NotNull String[] args) {
try {
String actual = normalize(executeCompilerGrabOutput(args))
.replace(FileUtil.toSystemIndependentName(new File("compiler/testData/cli/").getAbsolutePath()), "$TESTDATA_DIR$");
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$");
String expected = normalize(FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out")));