Skip to content

Commit a6eb2bd

Browse files
committed
test: use the correct stats code and do not use --all-targets
Signed-off-by: Rustin170506 <[email protected]>
1 parent 75a8cdd commit a6eb2bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/testsuite/fix.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1424,10 +1424,9 @@ fn fix_to_broken_code() {
14241424
p.cargo("build").cwd("foo").run();
14251425

14261426
// Attempt to fix code, but our shim will always fail the second compile
1427-
p.cargo("fix --all-targets --allow-no-vcs --broken-code")
1427+
p.cargo("fix --allow-no-vcs --broken-code")
14281428
.cwd("bar")
14291429
.env("RUSTC", p.root().join("foo/target/debug/foo"))
1430-
.with_status(101)
14311430
.with_stderr_data(str![[r#"
14321431
...
14331432
[WARNING] failed to automatically apply fixes suggested by rustc to crate `bar`

0 commit comments

Comments
 (0)