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

Unified Diff: service/datastore/size_test.go

Issue 2302743002: Interface update, per-method Contexts. (Closed)
Patch Set: Lightning talk licenses. Created 4 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 | « service/datastore/serialize/serialize_test.go ('k') | service/datastore/transaction.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/size_test.go
diff --git a/service/datastore/size_test.go b/service/datastore/size_test.go
index 817f2b1ef9808928f7cf03f10f4a03c24c00b900..7ca90aedbf353ed4b4baef67a390ee4587e39c10 100644
--- a/service/datastore/size_test.go
+++ b/service/datastore/size_test.go
@@ -32,7 +32,7 @@ var estimateSizeTests = []struct {
{PropertyMap{"Something": mps(100.1, "sup")}, 22},
{PropertyMap{
"Something": mps(100, "sup"),
- "Keys": mps(MakeKey("aid", "ns", "parent", "something", "kind", int64(20))),
+ "Keys": mps(KeyContext{"aid", "ns"}.MakeKey("parent", "something", "kind", int64(20))),
}, 59},
{PropertyMap{
"Null": mps(nil),
« no previous file with comments | « service/datastore/serialize/serialize_test.go ('k') | service/datastore/transaction.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698