We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
detect_src_and_out
1 parent 426a60a commit 9a9cf2fCopy full SHA for 9a9cf2f
src/bootstrap/src/core/config/tests.rs
@@ -96,8 +96,8 @@ fn detect_src_and_out() {
96
test(parse(""), None);
97
98
{
99
- let build_dir = if cfg!(windows) { Some("C:\\tmp") } else { Some("/tmp") };
100
- 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));
101
}
102
103
0 commit comments