We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8544742 commit 3bfe733Copy full SHA for 3bfe733
src/tools/compiletest/src/runtest.rs
@@ -2292,10 +2292,11 @@ impl<'test> TestCx<'test> {
2292
2293
let mut normalize_path = |from: &Path, to: &str| {
2294
let mut from = from.display().to_string();
2295
+ normalized = normalized.replace(&from, to);
2296
if json {
2297
from = from.replace("\\", "\\\\");
2298
2299
}
- normalized = normalized.replace(&from, to);
2300
};
2301
2302
let parent_dir = self.testpaths.file.parent().unwrap();
0 commit comments