summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/expectations/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expectations/build.rs b/tests/expectations/build.rs
index a5904d96..e44bcc85 100644
--- a/tests/expectations/build.rs
+++ b/tests/expectations/build.rs
@@ -52,7 +52,7 @@ fn main() {
#[path = "{}"]
mod {};
"###,
- path.display(),
+ path.display().to_string().replace('\\', "\\\\"),
module_name,
));
}