Skip to content

Commit 0b29588

Browse files
committed
Auto merge of #12588 - arlosi:logout-is-stable, r=weihanglo
chore: remove unstable-options for logout `cargo logout` is stable, and doesn't need `masquerade_as_nightly_cargo`
2 parents e597acd + bd4444f commit 0b29588

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/testsuite/logout.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ fn default_registry_configured() {
8383
check_token(Some("dummy-token"), Some("dummy-registry"));
8484
check_token(Some("crates-io-token"), None);
8585

86-
cargo_process("logout -Zunstable-options")
87-
.masquerade_as_nightly_cargo(&["cargo-logout"])
86+
cargo_process("logout")
8887
.with_stderr(
8988
"\
9089
[LOGOUT] token for `dummy-registry` has been removed from local storage
@@ -97,8 +96,7 @@ fn default_registry_configured() {
9796
check_token(None, Some("dummy-registry"));
9897
check_token(Some("crates-io-token"), None);
9998

100-
cargo_process("logout -Zunstable-options")
101-
.masquerade_as_nightly_cargo(&["cargo-logout"])
99+
cargo_process("logout")
102100
.with_stderr("[LOGOUT] not currently logged in to `dummy-registry`")
103101
.run();
104102
}

0 commit comments

Comments
 (0)