Updates to fix naming and layout

This commit is contained in:
Mark Wolfe
2020-01-07 09:02:18 +11:00
parent 438f07c664
commit 4a1d3a6521
2 changed files with 17 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ import (
"golang.org/x/oauth2"
)
func TestCognitoEndpoint(t *testing.T) {
func TestAWSCognitoEndpoint(t *testing.T) {
var endpointTests = []struct {
in string
@@ -34,7 +34,7 @@ func TestCognitoEndpoint(t *testing.T) {
for _, tt := range endpointTests {
t.Run(tt.in, func(t *testing.T) {
endpoint := Cognito(tt.in)
endpoint := AWSCognito(tt.in)
if endpoint != tt.out {
t.Errorf("got %q, want %q", endpoint, tt.out)
}