Add link to token source issue

This commit is contained in:
William Martin 2023-10-19 15:39:10 +02:00
parent 6dc04bb1e2
commit 4fc1999847

View file

@ -58,8 +58,8 @@ func TestTokenStoredInConfig(t *testing.T) {
token, source := authCfg.Token("github.com")
// Then the token is successfully fetched
// and the source is set to oauth_token but this isn't great
// but I can't find the issue # that references this.
// and the source is set to oauth_token but this isn't great:
// https://github.com/cli/go-gh/issues/94
require.Equal(t, "test-token", token)
require.Equal(t, "oauth_token", source)
}