Skip to content

Commit c946bd0

Browse files
committed
test: Fix typo in OAuth nil test causing test failure.
1 parent 3acf681 commit c946bd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

swagger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,5 +423,5 @@ func TestOAuthNil(t *testing.T) {
423423
var cfg Config
424424
var expected *OAuthConfig
425425
OAuth(expected)(&cfg)
426-
assert.Equal(t, expected, nil)
426+
assert.Equal(t, expected, cfg.OAuth)
427427
}

0 commit comments

Comments
 (0)