Skip to content

Commit

Permalink
resolved comments
Browse files Browse the repository at this point in the history
Signed-off-by: wangxiaoxuan273 <wangxiaoxuan119@gmail.com>
  • Loading branch information
wangxiaoxuan273 committed Sep 13, 2022
1 parent 198c6b5 commit b2b8e9a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions registry/remote/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1680,13 +1680,6 @@ func TestRepository_DiscoverExtensions(t *testing.T) {
}
}

func TestBlobStoreInterface(t *testing.T) {
var bs interface{} = &blobStore{}
if _, ok := bs.(registry.BlobStore); !ok {
t.Error("&blobStore{} does not conform registry.BlobStore")
}
}

func Test_BlobStore_Fetch(t *testing.T) {
blob := []byte("hello world")
blobDesc := ocispec.Descriptor{
Expand Down Expand Up @@ -2454,9 +2447,6 @@ func Test_generateBlobDescriptorWithVariousDockerContentDigestHeaders(t *testing

func TestManifestStoreInterface(t *testing.T) {
var ms interface{} = &manifestStore{}
if _, ok := ms.(registry.ManifestStore); !ok {
t.Error("&manifestStore{} does not conform registry.ManifestStore")
}
if _, ok := ms.(interfaces.ReferenceParser); !ok {
t.Error("&manifestStore{} does not conform interfaces.ReferenceParser")
}
Expand Down

0 comments on commit b2b8e9a

Please sign in to comment.