We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf3585c commit 0d48e8dCopy full SHA for 0d48e8d
pkg/cmdutil/auth_check_test.go
@@ -21,14 +21,14 @@ func Test_CheckAuth(t *testing.T) {
21
{
22
name: "host, no token",
23
cfg: func(c config.Config) {
24
- c.Set("github.com", "oauth_token", "")
+ _ = c.Set("github.com", "oauth_token", "")
25
},
26
expected: false,
27
28
29
name: "host, token",
30
31
- c.Set("github.com", "oauth_token", "a token")
+ _ = c.Set("github.com", "oauth_token", "a token")
32
33
expected: true,
34
0 commit comments