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

Unified Diff: filter/txnBuf/txnbuf_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 | « filter/dscache/serialize.go ('k') | impl/memory/datastore_data.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/txnBuf/txnbuf_test.go
diff --git a/filter/txnBuf/txnbuf_test.go b/filter/txnBuf/txnbuf_test.go
index 3878200441ce5fdab2dca4f2650513d2232095b9..26122dddf99b2599adf21841c8854c33813d7a6f 100644
--- a/filter/txnBuf/txnbuf_test.go
+++ b/filter/txnBuf/txnbuf_test.go
@@ -94,7 +94,7 @@ var (
dataSingleRoot = make([]*Foo, 20)
hugeField = make([]byte, DefaultSizeBudget/8)
hugeData = make([]*Foo, 11)
- root = ds.KeyContext{"something~else", ""}.MakeKey("Parent", 1)
+ root = ds.MkKeyContext("something~else", "").MakeKey("Parent", 1)
)
func init() {
« no previous file with comments | « filter/dscache/serialize.go ('k') | impl/memory/datastore_data.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698