diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 4b430f0cd70d5bfa2511a80a8ae0074e5936d93f..91d51d359ecec08b2a44e82d0de93a0051a7edf9 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1073,7 +1073,8 @@ fn check_expected_errors(&self, expected_errors: Vec, proc_res: & self.fatal_proc_rec("process did not return an error status", proc_res); } - let file_name = format!("{}", self.testpaths.file.display()).replace(r"\", "/"); // on windows, translate all '\' path separators to '/' + // on windows, translate all '\' path separators to '/' + let file_name = format!("{}", self.testpaths.file.display()).replace(r"\", "/"); // If the testcase being checked contains at least one expected "help" // message, then we'll ensure that all "help" messages are expected.