Skip to content

Commit

Permalink
fix unit test on ExtractPathFromRegistryURL
Browse files Browse the repository at this point in the history
  • Loading branch information
prima101112 committed Mar 7, 2024
1 parent 483c19c commit 4a0a834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/image/remote/remote_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func Test_ExtractPathFromRegistryURL(t *testing.T) {
t.Errorf("Expected path: %s, but got: %s", tt.expectedRegistry, registry)
}
if path != tt.expectedImagePrefix {
t.Errorf("Expected repo: %s, but got: %s", tt.expectedImage, path)
t.Errorf("Expected repo: %s, but got: %s", tt.expectedImagePrefix, path)
}
})
}
Expand Down

0 comments on commit 4a0a834

Please sign in to comment.