Fix test on Windows
This commit is contained in:
parent
8611f0b67c
commit
65aed3b6e6
1 changed files with 2 additions and 2 deletions
|
|
@ -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:");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue