Skip to content

Commit 0b64c08

Browse files
committed
style: fix gci formatting in handlers and handlers_test
Signed-off-by: Mathias Gebbe <mathias.gebbe@gmail.com>
1 parent 4afedc4 commit 0b64c08

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

server/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ func (s *Server) handleClientCredentialsGrant(w http.ResponseWriter, r *http.Req
14811481

14821482
// Validate scopes.
14831483
var (
1484-
unrecognized []string
1484+
unrecognized []string
14851485
invalidScopes []string
14861486
)
14871487
hasOpenIDScope := false

server/handlers_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -649,14 +649,14 @@ func TestHandlePasswordLoginWithSkipApproval(t *testing.T) {
649649

650650
func TestHandleClientCredentials(t *testing.T) {
651651
tests := []struct {
652-
name string
653-
clientID string
654-
clientSecret string
655-
scopes string
656-
wantCode int
657-
wantAccessTok bool
658-
wantIDToken bool
659-
wantUsername string
652+
name string
653+
clientID string
654+
clientSecret string
655+
scopes string
656+
wantCode int
657+
wantAccessTok bool
658+
wantIDToken bool
659+
wantUsername string
660660
}{
661661
{
662662
name: "Basic grant, no scopes",

0 commit comments

Comments
 (0)