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

Unified Diff: impl/memory/datastore_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 | « impl/memory/datastore_query_test.go ('k') | impl/memory/testing_utils_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/datastore_test.go
diff --git a/impl/memory/datastore_test.go b/impl/memory/datastore_test.go
index 8abeb4d76bb2aaa2f9307e0d7c95087e026b8ee2..c9580f0f7f1af8cad4585884b1ab52948557a426 100644
--- a/impl/memory/datastore_test.go
+++ b/impl/memory/datastore_test.go
@@ -100,7 +100,7 @@ func TestDatastoreSingleReadWriter(t *testing.T) {
"Name": prop(""),
"Val": prop(10),
"Multi": ds.PropertySlice{prop("foo"), prop("bar")},
- "Key": prop(ds.KeyContext{"dev~app", ""}.MakeKey("Bar", "Baz")),
+ "Key": prop(ds.MkKeyContext("dev~app", "").MakeKey("Bar", "Baz")),
})
})
Convey("Deleteing with a bogus key is bad", func() {
« no previous file with comments | « impl/memory/datastore_query_test.go ('k') | impl/memory/testing_utils_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698