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

Unified Diff: impl/prod/everything_test.go

Issue 1521823003: Clean up callback interfaces. (Closed) Base URL: https://github.com/luci/gae.git@extra
Patch Set: fixins Created 5 years 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 | « impl/memory/gkvlite_iter_test.go ('k') | impl/prod/raw_datastore.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/prod/everything_test.go
diff --git a/impl/prod/everything_test.go b/impl/prod/everything_test.go
index bf0924c1552cc99b39da5c5239108a1bb20ae8ac..9f2eb2fd1fe887f517b92069f12e400566cef698 100644
--- a/impl/prod/everything_test.go
+++ b/impl/prod/everything_test.go
@@ -125,9 +125,8 @@ func TestBasicDatastore(t *testing.T) {
Convey("Can query", func() {
q := datastore.NewQuery("TestStruct")
- ds.Run(q, func(ts *TestStruct, _ datastore.CursorCB) bool {
+ ds.Run(q, func(ts *TestStruct) {
So(*ts, ShouldResemble, orig)
- return true
})
count, err := ds.Count(q)
So(err, ShouldBeNil)
« no previous file with comments | « impl/memory/gkvlite_iter_test.go ('k') | impl/prod/raw_datastore.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698