(t *testing.T)
| 20 | } |
| 21 | |
| 22 | func TestParseImageRefFailure(t *testing.T) { |
| 23 | client := oci.ReferenceFailClient{} |
| 24 | url := "example.com/repo:tag" |
| 25 | _, err := digestContainerImageArtifact(url, client) |
| 26 | require.Error(t, err) |
| 27 | } |
| 28 | |
| 29 | func TestFetchImageFailure(t *testing.T) { |
| 30 | testcase := []struct { |
nothing calls this directly
no test coverage detected