mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Fix nightly test matching rustc "warning" output.
This commit is contained in:
parent
12d6e84880
commit
75e7b41823
@ -37,15 +37,9 @@ fn exported_priv_warning() {
|
|||||||
|
|
||||||
p.cargo("build --message-format=short")
|
p.cargo("build --message-format=short")
|
||||||
.masquerade_as_nightly_cargo()
|
.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
|
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()
|
.run()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user