Skip to content

Commit c882b4e

Browse files
committed
Fix 3 corner tests where whitespaces are important
1 parent 0152f26 commit c882b4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/testsuite/features.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ fn many_cli_features() {
692692
.build();
693693

694694
assert_that(
695-
p.cargo("build --features bar baz"),
695+
p.cargo("build --features").arg("bar baz"),
696696
execs().with_stderr(format!(
697697
"\
698698
[COMPILING] ba[..] v0.0.1 ({dir}/ba[..])
@@ -1394,7 +1394,7 @@ fn many_cli_features_comma_and_space_delimited() {
13941394
.build();
13951395

13961396
assert_that(
1397-
p.cargo("build --features bar,baz bam bap"),
1397+
p.cargo("build --features").arg("bar,baz bam bap"),
13981398
execs().with_stderr(format!(
13991399
"\
14001400
[COMPILING] ba[..] v0.0.1 ({dir}/ba[..])

tests/testsuite/metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ fn multiple_features() {
980980
.build();
981981

982982
assert_that(
983-
p.cargo("metadata --features a b"),
983+
p.cargo("metadata --features").arg("a b"),
984984
execs(),
985985
);
986986
}

0 commit comments

Comments
 (0)