Skip to content

Commit 61b762b

Browse files
committed
Remove unneeded masquerade_as_nightly_cargo.
This was accidentally missed when it was stabilized.
1 parent 1839ded commit 61b762b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/testsuite/package_features.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,11 @@ fn virtual_no_default_features() {
6565
.run();
6666

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

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

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

307304
p.cargo("run --features test")
308-
.masquerade_as_nightly_cargo()
309305
.with_status(0)
310306
.with_stdout("feature set")
311307
.run();
312308

313309
p.cargo("run --features a/test")
314-
.masquerade_as_nightly_cargo()
315310
.with_status(101)
316311
.with_stderr("[ERROR] package `a[..]` does not have a dependency named `a`")
317312
.run();

0 commit comments

Comments
 (0)