mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
test: use the correct stats code and do not use --all-targets
Signed-off-by: Rustin170506 <techregister@pm.me>
This commit is contained in:
parent
75a8cdd5a9
commit
a6eb2bd334
@ -1424,10 +1424,9 @@ fn fix_to_broken_code() {
|
||||
p.cargo("build").cwd("foo").run();
|
||||
|
||||
// Attempt to fix code, but our shim will always fail the second compile
|
||||
p.cargo("fix --all-targets --allow-no-vcs --broken-code")
|
||||
p.cargo("fix --allow-no-vcs --broken-code")
|
||||
.cwd("bar")
|
||||
.env("RUSTC", p.root().join("foo/target/debug/foo"))
|
||||
.with_status(101)
|
||||
.with_stderr_data(str![[r#"
|
||||
...
|
||||
[WARNING] failed to automatically apply fixes suggested by rustc to crate `bar`
|
||||
|
Loading…
x
Reference in New Issue
Block a user