From 2ad6b5413a2b9e9b799f74e1d1f088c227aae166 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 29 Nov 2019 13:50:54 -0800 Subject: [PATCH] Update tests for slight wording change in rustdoc error message. --- tests/testsuite/doc.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/testsuite/doc.rs b/tests/testsuite/doc.rs index 305fe6ca20f..ffcf8d2063f 100644 --- a/tests/testsuite/doc.rs +++ b/tests/testsuite/doc.rs @@ -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(); @@ -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(); }