Skip to content

Commit d90a41a

Browse files
Emilgardisemilio
authored andcommitted
escape \ in paths for tests modules
1 parent b387d23 commit d90a41a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/expectations/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn main() {
5252
#[path = "{}"]
5353
mod {};
5454
"###,
55-
path.display(),
55+
path.display().to_string().replace('\\', "\\\\"),
5656
module_name,
5757
));
5858
}

0 commit comments

Comments
 (0)