Skip to content

Commit

Permalink
Remove unneeded masquerade_as_nightly_cargo.
Browse files Browse the repository at this point in the history
This was accidentally missed when it was stabilized.
  • Loading branch information
ehuss committed May 24, 2021
1 parent 1839ded commit 61b762b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/testsuite/package_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,11 @@ fn virtual_no_default_features() {
.run();

p.cargo("check --features foo")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr("[ERROR] none of the selected packages contains these features: foo")
.run();

p.cargo("check --features a/dep1,b/f1,b/f2,f2")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr("[ERROR] none of the selected packages contains these features: b/f2, f2")
.run();
Expand Down Expand Up @@ -299,19 +297,16 @@ fn feature_default_resolver() {
.build();

p.cargo("check --features testt")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr("[ERROR] Package `a[..]` does not have the feature `testt`")
.run();

p.cargo("run --features test")
.masquerade_as_nightly_cargo()
.with_status(0)
.with_stdout("feature set")
.run();

p.cargo("run --features a/test")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr("[ERROR] package `a[..]` does not have a dependency named `a`")
.run();
Expand Down

0 comments on commit 61b762b

Please sign in to comment.