mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +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"] {
|
||||
p.cargo(cmd)
|
||||
.env("RUST_FLAGS", "foo")
|
||||
.with_stderr_contains("[WARNING] Cargo does not read `RUST_FLAGS` environment variable. Did you mean `RUSTFLAGS`?")
|
||||
.run();
|
||||
.env("RUST_FLAGS", "foo")
|
||||
.with_stderr_contains("[WARNING] Cargo does not read `RUST_FLAGS` environment variable. Did you mean `RUSTFLAGS`?")
|
||||
.run();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user