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

Unified Diff: filter/dscache/dscache_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/count/count_test.go ('k') | filter/featureBreaker/featurebreaker_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/dscache/dscache_test.go
diff --git a/filter/dscache/dscache_test.go b/filter/dscache/dscache_test.go
index cc1b606e8e23067a2065d0094f3ca950ce4a8331..6a09b3f7d94155ea1e7b1663d0e6811882010a92 100644
--- a/filter/dscache/dscache_test.go
+++ b/filter/dscache/dscache_test.go
@@ -92,8 +92,8 @@ func TestDSCache(t *testing.T) {
Convey("basically works", func() {
pm := datastore.PropertyMap{
- "BigData": {datastore.MkProperty([]byte(""))},
- "Value": {datastore.MkProperty("hi")},
+ "BigData": datastore.MkProperty([]byte("")),
+ "Value": datastore.MkProperty("hi"),
}
encoded := append([]byte{0}, serialize.ToBytes(pm)...)
« no previous file with comments | « filter/count/count_test.go ('k') | filter/featureBreaker/featurebreaker_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698