mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix test on Windows
This commit is contained in:
@@ -10,10 +10,10 @@ fn main() {
|
||||
&["--emit=dep-info,invocation-specific"],
|
||||
);
|
||||
|
||||
let content = rfs::read_to_string("foobar.d");
|
||||
let content = rfs::read_to_string("foobar.d").replace(r"\", "/");
|
||||
assert_contains(&content, "lib.rs:");
|
||||
assert_contains(&content, "rustdoc/ex.calls:");
|
||||
|
||||
let content = rfs::read_to_string("ex.d");
|
||||
let content = rfs::read_to_string("ex.d").replace(r"\", "/");
|
||||
assert_contains(&content, "examples/ex.rs:");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user