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.
2 parents f84f3f8 + 9e35ee1 commit 2932932Copy full SHA for 2932932
tests/testsuite/doc.rs
@@ -1287,11 +1287,7 @@ fn doc_cap_lints() {
1287
p.root().join("target").rm_rf();
1288
1289
p.cargo("doc -vv")
1290
- .with_stderr_contains(
1291
- "\
1292
-[WARNING] `[bad_link]` cannot be resolved[..]
1293
-",
1294
- )
+ .with_stderr_contains("[WARNING] [..]`bad_link`[..]")
1295
.run();
1296
}
1297
@@ -1334,7 +1330,7 @@ fn short_message_format() {
1334
1330
let p = project().file("src/lib.rs", BAD_INTRA_LINK_LIB).build();
1335
1331
p.cargo("doc --message-format=short")
1336
1332
.with_status(101)
1337
- .with_stderr_contains("src/lib.rs:4:6: error: `[bad_link]` cannot be resolved[..]")
1333
+ .with_stderr_contains("src/lib.rs:4:6: error: [..]`bad_link`[..]")
1338
1339
1340
0 commit comments