cargo fmt tests/testsuite/rustflags.rs

This commit is contained in:
Hidehito Yabuuchi 2019-02-24 14:27:10 +09:00
parent 44aec50e4e
commit 3ca98adbba

View File

@ -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();
} }
} }