Skip to content

Commit

Permalink
Update tests for slight wording change in rustdoc error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Nov 29, 2019
1 parent 14654f3 commit 2ad6b54
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 2ad6b54

Please sign in to comment.