Skip to content

Commit

Permalink
Auto merge of #7641 - ehuss:fix-nightly-rustdoc-bad-link, r=Eh2406
Browse files Browse the repository at this point in the history
Update tests for slight wording change in rustdoc error message.

Minor wording change in rustdoc error message from rust-lang/rust#66675.
  • Loading branch information
bors committed Nov 29, 2019
2 parents 14654f3 + 2ad6b54 commit c74ea1b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testsuite/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ fn doc_cap_lints() {
p.cargo("doc -vv")
.with_stderr_contains(
"\
[WARNING] `[bad_link]` cannot be resolved, ignoring it...
[WARNING] `[bad_link]` cannot be resolved[..]
",
)
.run();
Expand Down Expand Up @@ -1360,9 +1360,7 @@ fn short_message_format() {
let p = project().file("src/lib.rs", BAD_INTRA_LINK_LIB).build();
p.cargo("doc --message-format=short")
.with_status(101)
.with_stderr_contains(
"src/lib.rs:4:6: error: `[bad_link]` cannot be resolved, ignoring it...",
)
.with_stderr_contains("src/lib.rs:4:6: error: `[bad_link]` cannot be resolved[..]")
.run();
}

Expand Down

0 comments on commit c74ea1b

Please sign in to comment.