Skip to content

Commit d6d1514

Browse files
committed
Wrap some really long lines.
These do not wrap due to rust-lang/rustfmt#3863.
1 parent 384c311 commit d6d1514

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/testsuite/install.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,12 +1131,20 @@ and will continue to do so, but this behavior will be removed eventually
11311131

11321132
#[cargo_test]
11331133
fn test_install_git_cannot_be_a_base_url() {
1134-
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();
1134+
cargo_process("install --git github.com:rust-lang-nursery/rustfmt.git")
1135+
.with_status(101)
1136+
.with_stderr("\
1137+
[ERROR] invalid url `github.com:rust-lang-nursery/rustfmt.git`: cannot-be-a-base-URLs are not supported")
1138+
.run();
11351139
}
11361140

11371141
#[cargo_test]
11381142
fn uninstall_multiple_and_specifying_bin() {
1139-
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();
1143+
cargo_process("uninstall foo bar --bin baz")
1144+
.with_status(101)
1145+
.with_stderr("\
1146+
[ERROR] A binary can only be associated with a single installed package, specifying multiple specs with --bin is redundant.")
1147+
.run();
11401148
}
11411149

11421150
#[cargo_test]

0 commit comments

Comments
 (0)