Add additional comment on Logout ignoring errors
This commit is contained in:
parent
3380831672
commit
cb7672e573
1 changed files with 4 additions and 0 deletions
|
|
@ -323,6 +323,10 @@ func TestLogoutRemovesHostAndKeyringToken(t *testing.T) {
|
|||
// Note that I'm not sure this test enforces particularly desirable behaviour
|
||||
// since it leads users to believe a token has been removed when really
|
||||
// that might have failed for some reason.
|
||||
//
|
||||
// The original intention here is that if the logout fails, the user can't
|
||||
// really do anything to recover. On the other hand, a user might
|
||||
// want to rectify this manually, for example if there were on a shared machine.
|
||||
func TestLogoutIgnoresErrorsFromConfigAndKeyring(t *testing.T) {
|
||||
tempDir := t.TempDir()
|
||||
t.Setenv("GH_CONFIG_DIR", tempDir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue