mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Clean up pattern string
This commit is contained in:
parent
4bb6925f35
commit
d522344f58
@ -1755,10 +1755,11 @@ fn warn_if_default_features() {
|
||||
.build();
|
||||
|
||||
p.cargo("build")
|
||||
.with_stderr("\
|
||||
[WARNING] `default-features = [\"..\"]` was found in [features]. Did you mean to use `default = [\"..\"]`?
|
||||
.with_stderr(
|
||||
r#"
|
||||
[WARNING] `default-features = [".."]` was found in [features]. Did you mean to use `default = [".."]`?
|
||||
[COMPILING] foo v0.0.1 ([CWD])
|
||||
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
|
||||
",
|
||||
"#.trim(),
|
||||
).run();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user