From 695931608ab076fa31f49bd7c65418bb19555eeb Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 10 Aug 2019 01:20:43 +0300 Subject: [PATCH] Update two tests for changes in rustc output --- tests/testsuite/check.rs | 2 +- tests/testsuite/metabuild.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/check.rs b/tests/testsuite/check.rs index 6d931f34090..147098bc9c7 100644 --- a/tests/testsuite/check.rs +++ b/tests/testsuite/check.rs @@ -367,7 +367,7 @@ fn rustc_check_err() { .with_status(101) .with_stderr_contains("[CHECKING] bar [..]") .with_stderr_contains("[CHECKING] foo [..]") - .with_stderr_contains("[..]cannot find function `qux` in module `bar`") + .with_stderr_contains("[..]cannot find function `qux` in [..] `bar`") .run(); } diff --git a/tests/testsuite/metabuild.rs b/tests/testsuite/metabuild.rs index d060d407aed..c1bc4fda11c 100644 --- a/tests/testsuite/metabuild.rs +++ b/tests/testsuite/metabuild.rs @@ -733,7 +733,7 @@ fn metabuild_failed_build_json() { "children": "{...}", "code": "{...}", "level": "error", - "message": "cannot find function `metabuild` in module `mb`", + "message": "cannot find function `metabuild` in [..] `mb`", "rendered": "[..]", "spans": "{...}" },