Fix install test on Windows
This commit is contained in:
parent
0470945ec8
commit
21c30eac49
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue