Skip to content

Commit d522344

Browse files
committed
Clean up pattern string
1 parent 4bb6925 commit d522344

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/testsuite/features.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,10 +1755,11 @@ fn warn_if_default_features() {
17551755
.build();
17561756

17571757
p.cargo("build")
1758-
.with_stderr("\
1759-
[WARNING] `default-features = [\"..\"]` was found in [features]. Did you mean to use `default = [\"..\"]`?
1758+
.with_stderr(
1759+
r#"
1760+
[WARNING] `default-features = [".."]` was found in [features]. Did you mean to use `default = [".."]`?
17601761
[COMPILING] foo v0.0.1 ([CWD])
17611762
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
1762-
",
1763+
"#.trim(),
17631764
).run();
17641765
}

0 commit comments

Comments
 (0)