Skip to content

Commit 5976d53

Browse files
committed
Fix test on Windows.
1 parent a8ee477 commit 5976d53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/build_script_extra_link_arg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn build_script_extra_link_arg_bin() {
1919

2020
p.cargo("build -Zextra-link-arg -v")
2121
.masquerade_as_nightly_cargo()
22-
.with_status(101)
22+
.without_status()
2323
.with_stderr_contains(
2424
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]",
2525
)
@@ -43,7 +43,7 @@ fn build_script_extra_link_arg() {
4343

4444
p.cargo("build -Zextra-link-arg -v")
4545
.masquerade_as_nightly_cargo()
46-
.with_status(101)
46+
.without_status()
4747
.with_stderr_contains(
4848
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]",
4949
)

0 commit comments

Comments
 (0)