mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
In memory object storage now uses patricia tree
This commit is contained in:
+2
-1
@@ -117,7 +117,8 @@ func (s *MySuite) TestInMemoryBucketOperations(c *C) {
|
||||
// get missing value
|
||||
nilResult, err := bucket.Get(context, "foo")
|
||||
c.Assert(nilResult, IsNil)
|
||||
c.Assert(err, IsNil)
|
||||
c.Assert(err, Not(IsNil))
|
||||
c.Assert(err.Error(), Equals, "Object not found")
|
||||
|
||||
// add new value
|
||||
err = bucket.Put(context, "foo", []byte("bar"))
|
||||
|
||||
Reference in New Issue
Block a user