From eda10a468ce2aaa1d63f7f3c81a9befcee52f720 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Thu, 17 Jan 2019 13:15:14 -0500 Subject: [PATCH] relax rustdoc output assertion --- tests/testsuite/doc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/doc.rs b/tests/testsuite/doc.rs index 55edb44e4ff..5b0aef63a45 100644 --- a/tests/testsuite/doc.rs +++ b/tests/testsuite/doc.rs @@ -679,8 +679,8 @@ fn output_not_captured() { p.cargo("doc") .without_status() - .with_stderr_contains("1 | ☃") - .with_stderr_contains(r"error: unknown start of token: \u{2603}") + .with_stderr_contains("[..]☃") + .with_stderr_contains(r"[..]unknown start of token: \u{2603}") .run(); }