Skip to content

Commit 3a95c78

Browse files
committed
Revert "Tmp commit prior to SNAPSHOTS=overwrite cargo t --test testsuite help::"
This reverts commit cbaa4a89e60507366401ac0076d652f5eafc4998.
1 parent 715cba9 commit 3a95c78

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/testsuite/help.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Tests for cargo's help output.
22
33
use cargo_test_support::registry::Package;
4-
use cargo_test_support::str;
54
use cargo_test_support::{basic_manifest, cargo_exe, cargo_process, paths, process, project};
65
use std::fs;
76
use std::path::Path;
@@ -16,11 +15,9 @@ fn help() {
1615
cargo_process("build -h").run();
1716
cargo_process("help help").run();
1817
// Ensure that help output goes to stdout, not stderr.
19-
cargo_process("search --help").with_stderr(str![]).run();
18+
cargo_process("search --help").with_stderr("").run();
2019
cargo_process("search --help")
21-
.with_stdout_contains(str![[r#"
22-
HEY SNAPBOX, FIX THIS AUTOMATICALLY PLEASE
23-
"#]])
20+
.with_stdout_contains("[..] --frozen [..]")
2421
.run();
2522
}
2623

0 commit comments

Comments
 (0)