Fix gofmt in oauth2_test.go

Signed-off-by: Martin Heide <martin.heide@faro.com>
This commit is contained in:
Martin Heide 2020-11-02 12:52:52 +00:00
parent b894d9c888
commit 1ea481bb73

View File

@ -373,7 +373,7 @@ func TestValidRedirectURI(t *testing.T) {
// Both Public + RedirectURIs configured: Could e.g. be a PKCE-enabled web app. // Both Public + RedirectURIs configured: Could e.g. be a PKCE-enabled web app.
{ {
client: storage.Client{ client: storage.Client{
Public: true, Public: true,
RedirectURIs: []string{"http://foo.com/bar"}, RedirectURIs: []string{"http://foo.com/bar"},
}, },
redirectURI: "http://foo.com/bar", redirectURI: "http://foo.com/bar",
@ -381,7 +381,7 @@ func TestValidRedirectURI(t *testing.T) {
}, },
{ {
client: storage.Client{ client: storage.Client{
Public: true, Public: true,
RedirectURIs: []string{"http://foo.com/bar"}, RedirectURIs: []string{"http://foo.com/bar"},
}, },
redirectURI: "http://foo.com/bar/baz", redirectURI: "http://foo.com/bar/baz",