about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-12-06 09:42:09 -0500
committerNiko Matsakis <niko@alum.mit.edu>2017-12-06 09:42:09 -0500
commit7b456c053cb66c86919d1475b9ab418c4665a6af (patch)
tree6cb222884484a0f158de47ff3394a86a6401ca5c
parent86812902402758bb2ffa2ff594fcfd3546bab6aa (diff)
downloadrust-7b456c053cb66c86919d1475b9ab418c4665a6af.tar.gz
rust-7b456c053cb66c86919d1475b9ab418c4665a6af.zip
pacify the mercilous tidy
-rw-r--r--src/tools/compiletest/src/runtest.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 4b430f0cd70..91d51d359ec 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -1073,7 +1073,8 @@ impl<'test> TestCx<'test> {
             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.