mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
cargo fmt tests/testsuite/rustflags.rs
This commit is contained in:
parent
44aec50e4e
commit
3ca98adbba
@ -1332,9 +1332,9 @@ fn env_rustflags_misspelled() {
|
|||||||
|
|
||||||
for cmd in &["check", "build", "run", "test", "bench"] {
|
for cmd in &["check", "build", "run", "test", "bench"] {
|
||||||
p.cargo(cmd)
|
p.cargo(cmd)
|
||||||
.env("RUST_FLAGS", "foo")
|
.env("RUST_FLAGS", "foo")
|
||||||
.with_stderr_contains("[WARNING] Cargo does not read `RUST_FLAGS` environment variable. Did you mean `RUSTFLAGS`?")
|
.with_stderr_contains("[WARNING] Cargo does not read `RUST_FLAGS` environment variable. Did you mean `RUSTFLAGS`?")
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user