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

Unified Diff: impl/memory/datastore_index_test.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: appease errcheck Created 5 years, 3 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 | « impl/memory/datastore_index_selection.go ('k') | impl/memory/datastore_query.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/datastore_index_test.go
diff --git a/impl/memory/datastore_index_test.go b/impl/memory/datastore_index_test.go
index e025de3000f2978b5430da4bb4d130bb94aa6e9c..baaf420ec77c9934eda49f25e90c9c4ed785b7a2 100644
--- a/impl/memory/datastore_index_test.go
+++ b/impl/memory/datastore_index_test.go
@@ -14,7 +14,7 @@ import (
. "github.com/smartystreets/goconvey/convey"
)
-var fakeKey = key("knd", 10, key("parentKind", "sid"))
+var fakeKey = key("parentKind", "sid", "knd", 10)
func TestCollated(t *testing.T) {
t.Parallel()
@@ -296,7 +296,7 @@ func TestIndexEntries(t *testing.T) {
}
type dumbItem struct {
- key ds.Key
+ key *ds.Key
props ds.PropertyMap
}
« no previous file with comments | « impl/memory/datastore_index_selection.go ('k') | impl/memory/datastore_query.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698