| Index: impl/memory/datastore_test.go
|
| diff --git a/impl/memory/datastore_test.go b/impl/memory/datastore_test.go
|
| index 269b5dea2100fd48e4e06137a341bf57dad8f742..2f22e3dedc72c2fee1e1de93ec3cff256c3eeada 100644
|
| --- a/impl/memory/datastore_test.go
|
| +++ b/impl/memory/datastore_test.go
|
| @@ -100,9 +100,10 @@ func TestDatastoreSingleReadWriter(t *testing.T) {
|
| }
|
| So(ds.DeleteMulti(keys), ShouldBeNil)
|
| count := 0
|
| - So(ds.Raw().DeleteMulti(keys, func(err error) {
|
| + So(ds.Raw().DeleteMulti(keys, func(err error) error {
|
| count++
|
| So(err, ShouldBeNil)
|
| + return nil
|
| }), ShouldBeNil)
|
| So(count, ShouldEqual, len(keys))
|
| })
|
| @@ -129,9 +130,8 @@ func TestDatastoreSingleReadWriter(t *testing.T) {
|
| ds.Testable().CatchupIndexes()
|
|
|
| count := 0
|
| - So(ds.Run(dsS.NewQuery(""), func(_ *dsS.Key, _ dsS.CursorCB) bool {
|
| + So(ds.Run(dsS.NewQuery(""), func(_ *dsS.Key) {
|
| count++
|
| - return true
|
| }), ShouldBeNil)
|
| So(count, ShouldEqual, 3)
|
|
|
|
|