We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d5baf commit 3dc78b5Copy full SHA for 3dc78b5
tests/testsuite/doc.rs
@@ -1372,7 +1372,7 @@ fn doc_message_format() {
1372
1373
p.cargo("doc --message-format=json")
1374
.with_status(101)
1375
- .with_json(
+ .with_json_contains_unordered(
1376
r#"
1377
{
1378
"message": {
@@ -1402,10 +1402,7 @@ fn short_message_format() {
1402
p.cargo("doc --message-format=short")
1403
1404
.with_stderr_contains(
1405
- "\
1406
-src/lib.rs:4:6: error: `[bad_link]` cannot be resolved, ignoring it...
1407
-error: Could not document `foo`.
1408
-",
+ "src/lib.rs:4:6: error: `[bad_link]` cannot be resolved, ignoring it...",
1409
)
1410
.run();
1411
}
0 commit comments