diff --git a/pkg/cmd/gist/create/create_test.go b/pkg/cmd/gist/create/create_test.go index 958d09355..048bdda1d 100644 --- a/pkg/cmd/gist/create/create_test.go +++ b/pkg/cmd/gist/create/create_test.go @@ -268,7 +268,7 @@ func Test_CreateRun_reauth(t *testing.T) { StatusCode: 404, Request: req, Header: map[string][]string{ - "X-Oauth-Scopes": []string{"coolScope"}, + "X-Oauth-Scopes": {"coolScope"}, }, Body: ioutil.NopCloser(bytes.NewBufferString("oh no")), }, nil