Skip to content

Commit

Permalink
Wrap some really long lines.
Browse files Browse the repository at this point in the history
These do not wrap due to rust-lang/rustfmt#3863.
  • Loading branch information
ehuss committed Oct 18, 2019
1 parent 384c311 commit d6d1514
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/testsuite/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1131,12 +1131,20 @@ and will continue to do so, but this behavior will be removed eventually

#[cargo_test]
fn test_install_git_cannot_be_a_base_url() {
cargo_process("install --git github.com:rust-lang-nursery/rustfmt.git").with_status(101).with_stderr("error: invalid url `github.com:rust-lang-nursery/rustfmt.git`: cannot-be-a-base-URLs are not supported").run();
cargo_process("install --git github.com:rust-lang-nursery/rustfmt.git")
.with_status(101)
.with_stderr("\
[ERROR] invalid url `github.com:rust-lang-nursery/rustfmt.git`: cannot-be-a-base-URLs are not supported")
.run();
}

#[cargo_test]
fn uninstall_multiple_and_specifying_bin() {
cargo_process("uninstall foo bar --bin baz").with_status(101).with_stderr("error: A binary can only be associated with a single installed package, specifying multiple specs with --bin is redundant.").run();
cargo_process("uninstall foo bar --bin baz")
.with_status(101)
.with_stderr("\
[ERROR] A binary can only be associated with a single installed package, specifying multiple specs with --bin is redundant.")
.run();
}

#[cargo_test]
Expand Down

0 comments on commit d6d1514

Please sign in to comment.