Skip to content

Commit

Permalink
chore: adjust base on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
l-qing committed Aug 28, 2023
1 parent 0071f1b commit b7483c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/artifacts/v1alpha1/registry_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ var _ = Describe("Test.GetAuthFromDockerConfigJson", func() {
Entry("matched registry suffixed with /", "https://suffix.docker.io", mockAuths,
"u5", "p5", nil,
),
Entry("matched registry suffixed with /", "https://suffix.docker.io/", mockAuths,
"u5", "p5", nil,
),
Entry("fallback to host", "https://docker.io/not-exist", mockAuths,
"u1", "p1", nil,
),
Expand Down

0 comments on commit b7483c7

Please sign in to comment.