summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/tests/testsuite/rustflags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/tests/testsuite/rustflags.rs')
-rw-r--r--src/tools/cargo/tests/testsuite/rustflags.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/cargo/tests/testsuite/rustflags.rs b/src/tools/cargo/tests/testsuite/rustflags.rs
index 6677beb04..788889951 100644
--- a/src/tools/cargo/tests/testsuite/rustflags.rs
+++ b/src/tools/cargo/tests/testsuite/rustflags.rs
@@ -456,7 +456,7 @@ fn env_rustflags_no_recompile() {
p.cargo("check").env("RUSTFLAGS", "--cfg foo").run();
p.cargo("check")
.env("RUSTFLAGS", "--cfg foo")
- .with_stdout("")
+ .with_stderr("[FINISHED] [..]")
.run();
}
@@ -944,7 +944,7 @@ fn build_rustflags_no_recompile() {
p.cargo("check").env("RUSTFLAGS", "--cfg foo").run();
p.cargo("check")
.env("RUSTFLAGS", "--cfg foo")
- .with_stdout("")
+ .with_stderr("[FINISHED] [..]")
.run();
}
@@ -1658,7 +1658,7 @@ fn host_config_rustflags_with_target() {
// regression test for https://github.com/rust-lang/cargo/issues/10206
let p = project()
.file("src/lib.rs", "")
- .file("build.rs.rs", "fn main() { assert!(cfg!(foo)); }")
+ .file("build.rs", "fn main() { assert!(cfg!(foo)); }")
.file(".cargo/config.toml", "target-applies-to-host = false")
.build();