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

Unified Diff: impl/memory/datastore_index_test.go

Issue 2517833002: Fix #66. (Closed)
Patch Set: Move test Created 4 years, 1 month 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.go ('k') | impl/memory/datastore_query_execution_test.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 7f502b76fce4c5ce589ce3d881d34bb1b2a4b902..2d69f1d2293df72b572b506765c6e975cf744a2d 100644
--- a/impl/memory/datastore_index_test.go
+++ b/impl/memory/datastore_index_test.go
@@ -204,7 +204,7 @@ func TestIndexRowGen(t *testing.T) {
Convey("indexEntries", func() {
sip := serialize.PropertyMapPartially(fakeKey, nil)
- s := indexEntries(sip, "ns", defaultIndexes("knd", ds.PropertyMap(nil)))
+ s := indexEntries(fakeKey, sip, defaultIndexes("knd", ds.PropertyMap(nil)))
numItems, _ := s.GetCollection("idx").GetTotals()
So(numItems, ShouldEqual, 1)
itm := s.GetCollection("idx").MinItem(false)
@@ -248,7 +248,7 @@ func TestIndexEntries(t *testing.T) {
store = indexEntriesWithBuiltins(fakeKey, tc.pmap, tc.idxs)
} else {
sip := serialize.PropertyMapPartially(fakeKey, tc.pmap)
- store = indexEntries(sip, fakeKey.Namespace(), tc.idxs)
+ store = indexEntries(fakeKey, sip, tc.idxs)
}
for colName, vals := range tc.collections {
i := 0
« no previous file with comments | « impl/memory/datastore_index.go ('k') | impl/memory/datastore_query_execution_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698