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

Unified Diff: service/datastore/size_test.go

Issue 2353063004: Add "MkKeyContext" KeyContext generation function. (Closed)
Patch Set: 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') | no next file » | 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 7ca90aedbf353ed4b4baef67a390ee4587e39c10..9474a2936263ff72ce98b70173eaa392e778ca54 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(KeyContext{"aid", "ns"}.MakeKey("parent", "something", "kind", int64(20))),
+ "Keys": mps(MkKeyContext("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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698