mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Relax some rustdoc tests.
This commit is contained in:
parent
5a6b69276c
commit
a7fd6670d6
@ -1372,7 +1372,7 @@ fn doc_message_format() {
|
||||
|
||||
p.cargo("doc --message-format=json")
|
||||
.with_status(101)
|
||||
.with_json(
|
||||
.with_json_contains_unordered(
|
||||
r#"
|
||||
{
|
||||
"message": {
|
||||
@ -1402,10 +1402,7 @@ fn short_message_format() {
|
||||
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...
|
||||
error: Could not document `foo`.
|
||||
",
|
||||
"src/lib.rs:4:6: error: `[bad_link]` cannot be resolved, ignoring it...",
|
||||
)
|
||||
.run();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user