about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 636100ef503..652eb640d11 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -2000,7 +2000,7 @@ actual:\n\
                              .unwrap_or(&path)
                              .to_str()
                              .unwrap()
-                             .to_owned(),
+                             .replace('\\', "/"),
                          self.get_lines(&path, None));
         }