mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -05:00
Move to container/list datastructure from map[string][]byte
This commit is contained in:
2
pkg/donut/cache/data/data_test.go
vendored
2
pkg/donut/cache/data/data_test.go
vendored
@@ -29,7 +29,7 @@ type MySuite struct{}
|
||||
var _ = Suite(&MySuite{})
|
||||
|
||||
func (s *MySuite) TestCache(c *C) {
|
||||
cache := NewCache(1000, 0)
|
||||
cache := NewCache(1000)
|
||||
data := []byte("Hello, world!")
|
||||
ok := cache.Set("filename", data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user