Index: service/datastore/checkfilter_test.go |
diff --git a/service/datastore/checkfilter_test.go b/service/datastore/checkfilter_test.go |
index f118d57658c130c9d45199739fd8038712dd3053..445b9d0aec03e0c7dc6bf5361fe1cc4a27d2a6f9 100644 |
--- a/service/datastore/checkfilter_test.go |
+++ b/service/datastore/checkfilter_test.go |
@@ -49,7 +49,7 @@ func TestCheckFilter(t *testing.T) { |
So(rds.Run(rds.NewQuery("sup"), nil).Error(), ShouldContainSubstring, "callback is nil") |
hit := false |
So(func() { |
- rds.Run(rds.NewQuery("sup"), func(Key, PropertyMap, func() (Cursor, error)) bool { |
+ rds.Run(rds.NewQuery("sup"), func(Key, PropertyMap, CursorCB) bool { |
hit = true |
return true |
}) |