mirror of
https://github.com/rust-lang/cargo
synced 2024-06-30 23:14:41 +00:00
Fix nightly test matching rustc "warning" output.
This commit is contained in:
parent
0219e16f1e
commit
2cbe9048ef
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user