Fixed CliTest.
This commit is contained in:
@@ -64,7 +64,8 @@ public class CliTest {
|
|||||||
private void executeCompilerCompareOutput(@NotNull String[] args) {
|
private void executeCompilerCompareOutput(@NotNull String[] args) {
|
||||||
try {
|
try {
|
||||||
String actual = normalize(executeCompilerGrabOutput(args))
|
String actual = normalize(executeCompilerGrabOutput(args))
|
||||||
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$");
|
.replace(new File("compiler/testData/cli/").getAbsolutePath(), "$TESTDATA_DIR$")
|
||||||
|
.replace("\\", "/");
|
||||||
|
|
||||||
String expected = normalize(FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out")));
|
String expected = normalize(FileUtil.loadFile(new File("compiler/testData/cli/" + testName.getMethodName() + ".out")));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user