Skip to content

Commit

Permalink
Fix bootstrap test detect_src_and_out on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Aug 17, 2024
1 parent 426a60a commit 9a9cf2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bootstrap/src/core/config/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ fn detect_src_and_out() {
test(parse(""), None);

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

Expand Down

0 comments on commit 9a9cf2f

Please sign in to comment.