mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
Fix install test on Windows
This commit is contained in:
parent
0470945ec8
commit
21c30eac49
@ -2312,8 +2312,9 @@ mod snapshot {
|
||||
insta::assert_snapshot!(
|
||||
ctx.config("install")
|
||||
.args(&[
|
||||
"--set", &format!("install.prefix={}", ctx.dir().display()),
|
||||
"--set", &format!("install.sysconfdir={}", ctx.dir().display()),
|
||||
// Using backslashes fails with `--set`
|
||||
"--set", &format!("install.prefix={}", ctx.dir().display()).replace("\\", "/"),
|
||||
"--set", &format!("install.sysconfdir={}", ctx.dir().display()).replace("\\", "/"),
|
||||
"--set", "build.extended=true"
|
||||
])
|
||||
.render_steps(), @r"
|
||||
|
Loading…
x
Reference in New Issue
Block a user