distribution/registry/storage/cache/memory/memory_test.go

14 lines
338 B
Go
Raw Normal View History

package memory
import (
"testing"
"github.com/distribution/distribution/v3/registry/storage/cache/cachecheck"
)
// TestInMemoryBlobInfoCache checks the in memory implementation is working
// correctly.
func TestInMemoryBlobInfoCache(t *testing.T) {
cachecheck.CheckBlobDescriptorCache(t, NewInMemoryBlobDescriptorCacheProvider())
}