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

Unified Diff: service/datastore/size_test.go

Issue 2302743002: Interface update, per-method Contexts. (Closed)
Patch Set: Created 4 years, 4 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
Index: service/datastore/size_test.go
diff --git a/service/datastore/size_test.go b/service/datastore/size_test.go
index e07cbac73fe2c5aabe6ad323c42958726c66cf20..3ccce147adc70b4c5fa32e2293559c3eee660548 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),

Powered by Google App Engine
This is Rietveld 408576698