Skip to content

Commit 9a9cf2f

Browse files
committed
Fix bootstrap test detect_src_and_out on Windows
1 parent 426a60a commit 9a9cf2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/src/core/config/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ fn detect_src_and_out() {
9696
test(parse(""), None);
9797

9898
{
99-
let build_dir = if cfg!(windows) { Some("C:\\tmp") } else { Some("/tmp") };
100-
test(parse("build.build-dir = \"/tmp\""), build_dir);
99+
let build_dir = if cfg!(windows) { "C:\\tmp" } else { "/tmp" };
100+
test(parse(&format!("build.build-dir = '{build_dir}'")), Some(build_dir));
101101
}
102102
}
103103

0 commit comments

Comments
 (0)