github.com/lusis/distribution@v2.0.1+incompatible/registry/storage/cache/memory_test.go (about)

     1  package cache
     2  
     3  import "testing"
     4  
     5  // TestInMemoryLayerInfoCache checks the in memory implementation is working
     6  // correctly.
     7  func TestInMemoryLayerInfoCache(t *testing.T) {
     8  	checkLayerInfoCache(t, NewInMemoryLayerInfoCache())
     9  }