Skip to content

Commit

Permalink
fix test panic
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Feb 14, 2022
1 parent f4010ec commit 022db7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecr-login/ecr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestGetError(t *testing.T) {
}

func TestGetNoMatch(t *testing.T) {
helper := &ECRHelper{}
helper := NewECRHelper(nil)

username, password, err := helper.Get("not-ecr-server-url")
assert.True(t, credentials.IsErrCredentialsNotFound(err))
Expand Down

0 comments on commit 022db7c

Please sign in to comment.