Skip to content

Commit

Permalink
fix tests for path detection
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcollom committed Jul 8, 2024
1 parent 4c24274 commit 0d6cb2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/ghcr/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func TestRepoImage(t *testing.T) {
handler := new(Client)
for name, test := range tests {
t.Run(name, func(t *testing.T) {
handler.opts.Token = "fake-token"
repo, image := handler.RepoImageFromPath(test.path)
if repo != test.expRepo && image != test.expImage {
t.Errorf("%s: unexpected repo/image, exp=%s/%s got=%s/%s",
Expand Down

0 comments on commit 0d6cb2c

Please sign in to comment.