mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
stop mixing of newlines and \n
in tests
This commit is contained in:
parent
bda60646af
commit
5f3ded124f
@ -262,7 +262,9 @@ fn find_closest_dont_correct_nonsense() {
|
||||
.cwd(&paths::root())
|
||||
.with_status(101)
|
||||
.with_stderr(
|
||||
"[ERROR] no such subcommand: `there-is-no-way-that-there-is-a-command-close-to-this`\n
|
||||
"\
|
||||
[ERROR] no such subcommand: `there-is-no-way-that-there-is-a-command-close-to-this`
|
||||
|
||||
<tab>View all installed commands with `cargo --list`",
|
||||
)
|
||||
.run();
|
||||
@ -273,7 +275,9 @@ fn displays_subcommand_on_error() {
|
||||
cargo_process("invalid-command")
|
||||
.with_status(101)
|
||||
.with_stderr(
|
||||
"[ERROR] no such subcommand: `invalid-command`\n
|
||||
"\
|
||||
[ERROR] no such subcommand: `invalid-command`
|
||||
|
||||
<tab>View all installed commands with `cargo --list`",
|
||||
)
|
||||
.run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user