In memory object storage now uses patricia tree

This commit is contained in:
Frederick F. Kautz IV
2014-11-07 23:32:01 -08:00
parent 0ed2aeb439
commit e0b9a59ad4
8 changed files with 1579 additions and 7 deletions
+2 -1
View File
@@ -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"))