Skip to content

Commit 7b14e72

Browse files
committed
chore: update package_features tests to use check
1 parent de2e974 commit 7b14e72

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/testsuite/package_features.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,28 +466,28 @@ fn non_member() {
466466
.file("src/lib.rs", "")
467467
.build();
468468

469-
p.cargo("build -p dep --features f1")
469+
p.cargo("check -p dep --features f1")
470470
.with_status(101)
471471
.with_stderr("[ERROR] cannot specify features for packages outside of workspace")
472472
.run();
473473

474-
p.cargo("build -p dep --all-features")
474+
p.cargo("check -p dep --all-features")
475475
.with_status(101)
476476
.with_stderr("[ERROR] cannot specify features for packages outside of workspace")
477477
.run();
478478

479-
p.cargo("build -p dep --no-default-features")
479+
p.cargo("check -p dep --no-default-features")
480480
.with_status(101)
481481
.with_stderr("[ERROR] cannot specify features for packages outside of workspace")
482482
.run();
483483

484-
p.cargo("build -p dep")
484+
p.cargo("check -p dep")
485485
.with_stderr(
486486
"\
487487
[UPDATING] [..]
488488
[DOWNLOADING] [..]
489489
[DOWNLOADED] [..]
490-
[COMPILING] dep [..]
490+
[CHECKING] dep [..]
491491
[FINISHED] [..]
492492
",
493493
)

0 commit comments

Comments
 (0)