aboutsummaryrefslogtreecommitdiffstats
path: root/core/object_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/object_test.go')
-rw-r--r--core/object_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/object_test.go b/core/object_test.go
index d087aae..5ebf26a 100644
--- a/core/object_test.go
+++ b/core/object_test.go
@@ -159,18 +159,18 @@ func (o *MockObjectStorage) NewObject() Object {
return nil
}
-func (o *MockObjectStorage) Set(obj Object) (Hash, error) {
+func (o *MockObjectStorage) SetObject(obj Object) (Hash, error) {
return ZeroHash, nil
}
-func (o *MockObjectStorage) Get(t ObjectType, h Hash) (Object, error) {
+func (o *MockObjectStorage) Object(t ObjectType, h Hash) (Object, error) {
return &MemoryObject{h: h}, nil
}
-func (o *MockObjectStorage) Iter(t ObjectType) (ObjectIter, error) {
+func (o *MockObjectStorage) IterObjects(t ObjectType) (ObjectIter, error) {
return nil, nil
}
-func (o *MockObjectStorage) Begin() TxObjectStorage {
+func (o *MockObjectStorage) Begin() Transaction {
return nil
}