]> git.lizzy.rs Git - rust.git/commitdiff
Make path separator replacement for subfiles as well
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 22 Feb 2017 22:19:03 +0000 (23:19 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 22 Feb 2017 22:19:03 +0000 (23:19 +0100)
src/tools/compiletest/src/runtest.rs

index 636100ef503cf8f821d989a58fd2216d555b52e8..652eb640d11f8d4ad001d88164a43fdea6346b99 100644 (file)
@@ -2000,7 +2000,7 @@ fn check_rustdoc_test_option(&self, res: ProcRes) {
                              .unwrap_or(&path)
                              .to_str()
                              .unwrap()
-                             .to_owned(),
+                             .replace('\\', "/"),
                          self.get_lines(&path, None));
         }