(t *testing.T)
| 21 | var _ private.ImageDestination = (*dirImageDestination)(nil) |
| 22 | |
| 23 | func TestDestinationReference(t *testing.T) { |
| 24 | ref, tmpDir := refToTempDir(t) |
| 25 | |
| 26 | dest, err := ref.NewImageDestination(context.Background(), nil) |
| 27 | require.NoError(t, err) |
| 28 | defer dest.Close() |
| 29 | ref2 := dest.Reference() |
| 30 | assert.Equal(t, tmpDir, ref2.StringWithinTransport()) |
| 31 | } |
| 32 | |
| 33 | func TestGetPutManifest(t *testing.T) { |
| 34 | ref, _ := refToTempDir(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…