Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: service/datastore/checkfilter_test.go

Issue 1279703003: Get rid of awkward proto argument to Interface.Run (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | service/datastore/datastore.go » ('j') | service/datastore/datastore.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
})
« no previous file with comments | « no previous file | service/datastore/datastore.go » ('j') | service/datastore/datastore.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698