Skip to content

Commit

Permalink
Auto merge of #12588 - arlosi:logout-is-stable, r=weihanglo
Browse files Browse the repository at this point in the history
chore: remove unstable-options for logout

`cargo logout` is stable, and doesn't need `masquerade_as_nightly_cargo`
  • Loading branch information
bors committed Aug 29, 2023
2 parents e597acd bd4444f commit 0b29588
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testsuite/logout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 83,7 @@ fn default_registry_configured() {
check_token(Some("dummy-token"), Some("dummy-registry"));
check_token(Some("crates-io-token"), None);

cargo_process("logout -Zunstable-options")
.masquerade_as_nightly_cargo(&["cargo-logout"])
cargo_process("logout")
.with_stderr(
"\
[LOGOUT] token for `dummy-registry` has been removed from local storage
Expand All @@ -97,8 96,7 @@ fn default_registry_configured() {
check_token(None, Some("dummy-registry"));
check_token(Some("crates-io-token"), None);

cargo_process("logout -Zunstable-options")
.masquerade_as_nightly_cargo(&["cargo-logout"])
cargo_process("logout")
.with_stderr("[LOGOUT] not currently logged in to `dummy-registry`")
.run();
}
Expand Down

0 comments on commit 0b29588

Please sign in to comment.