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

Unified Diff: filter/featureBreaker/featurebreaker_test.go

Issue 2342063003: Differentiate between single- and multi- props. (Closed)
Patch Set: Slice is now always a clone. This is marginally worse performance, but a much safer UI. 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/dscache_test.go ('k') | filter/txnBuf/query_merger.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/featureBreaker/featurebreaker_test.go
diff --git a/filter/featureBreaker/featurebreaker_test.go b/filter/featureBreaker/featurebreaker_test.go
index 09be8ff8b946ddd5834a637f7b492ededfd7428b..70589974634eed19cbab3f76dc04410b8a9ec686 100644
--- a/filter/featureBreaker/featurebreaker_test.go
+++ b/filter/featureBreaker/featurebreaker_test.go
@@ -27,7 +27,7 @@ func TestBrokenFeatures(t *testing.T) {
c, bf := FilterRDS(c, nil)
ds := datastore.Get(c)
vals := []datastore.PropertyMap{{
- "$key": {datastore.MkPropertyNI(ds.NewKey("Wut", "", 1, nil))},
+ "$key": datastore.MkPropertyNI(ds.NewKey("Wut", "", 1, nil)),
}}
Convey("by specifying an error", func() {
@@ -56,7 +56,7 @@ func TestBrokenFeatures(t *testing.T) {
c, bf := FilterRDS(c, e)
ds := datastore.Get(c)
vals := []datastore.PropertyMap{{
- "$key": {datastore.MkPropertyNI(ds.NewKey("Wut", "", 1, nil))},
+ "$key": datastore.MkPropertyNI(ds.NewKey("Wut", "", 1, nil)),
}}
bf.BreakFeatures(nil, "GetMulti")
So(ds.GetMulti(vals), ShouldEqual, e)
« no previous file with comments | « filter/dscache/dscache_test.go ('k') | filter/txnBuf/query_merger.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698