Skip to content

Commit

Permalink
Fix nightly test matching rustc "warning" output.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 13, 2020
1 parent 12d6e84 commit 75e7b41
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/testsuite/pub_priv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,9 @@ fn exported_priv_warning() {

p.cargo("build --message-format=short")
.masquerade_as_nightly_cargo()
.with_stderr(
.with_stderr_contains(
"\
[UPDATING] `[..]` index
[DOWNLOADING] crates ...
[DOWNLOADED] priv_dep v0.1.0 ([..])
[COMPILING] priv_dep v0.1.0
[COMPILING] foo v0.0.1 ([CWD])
src/lib.rs:3:13: warning: type `priv_dep::FromPriv` from private dependency 'priv_dep' in public interface
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
"
)
.run()
Expand Down

0 comments on commit 75e7b41

Please sign in to comment.