Skip to content

Commit

Permalink
Auto merge of rust-lang#7231 - petrochenkov:module2crate, r=alexcrichton
Browse files Browse the repository at this point in the history
Update two tests for changes in rustc output

Required for landing rust-lang/rust#63250.

(I'm not sure what is the process for landing synchronous changes like this.)
  • Loading branch information
bors committed Aug 9, 2019
2 parents f0075c5 + 6959316 commit e853aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testsuite/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/metabuild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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": "{...}"
},
Expand Down

0 comments on commit e853aa9

Please sign in to comment.