Skip to content

Commit

Permalink
Fix 3 corner tests where whitespaces are important
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Aug 19, 2018
1 parent 0152f26 commit c882b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ fn many_cli_features() {
.build();

assert_that(
p.cargo("build --features bar baz"),
p.cargo("build --features").arg("bar baz"),
execs().with_stderr(format!(
"\
[COMPILING] ba[..] v0.0.1 ({dir}/ba[..])
Expand Down Expand Up @@ -1394,7 +1394,7 @@ fn many_cli_features_comma_and_space_delimited() {
.build();

assert_that(
p.cargo("build --features bar,baz bam bap"),
p.cargo("build --features").arg("bar,baz bam bap"),
execs().with_stderr(format!(
"\
[COMPILING] ba[..] v0.0.1 ({dir}/ba[..])
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ fn multiple_features() {
.build();

assert_that(
p.cargo("metadata --features a b"),
p.cargo("metadata --features").arg("a b"),
execs(),
);
}
Expand Down

0 comments on commit c882b4e

Please sign in to comment.