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

Unified Diff: impl/memory/gkvlite_iter_test.go

Issue 1365743002: Refactor serialization helpers from impl/memory -> service/datastore/serialize (Closed) Base URL: https://github.com/luci/gae.git@estimate_size
Patch Set: fix comments Created 5 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/gkvlite_iter.go ('k') | service/datastore/serialize/binary_tools.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/gkvlite_iter_test.go
diff --git a/impl/memory/gkvlite_iter_test.go b/impl/memory/gkvlite_iter_test.go
index 166bc08fff6d179473796bcbace0ffe86afe2049..1cd33f94cde674b3a75ce917f54fd509e0144818 100644
--- a/impl/memory/gkvlite_iter_test.go
+++ b/impl/memory/gkvlite_iter_test.go
@@ -8,6 +8,7 @@ import (
"bytes"
"testing"
+ "github.com/luci/gae/service/datastore/serialize"
"github.com/luci/gkvlite"
"github.com/luci/luci-go/common/cmpbin"
. "github.com/smartystreets/goconvey/convey"
@@ -164,7 +165,7 @@ func TestMultiIteratorSimple(t *testing.T) {
for j, n := range nms {
numbs[j] = mkNum(n)
}
- valBytes[i] = bjoin(numbs...)
+ valBytes[i] = serialize.Join(numbs...)
}
otherVals := [][]int64{
@@ -184,7 +185,7 @@ func TestMultiIteratorSimple(t *testing.T) {
for i, n := range nms {
numbs[i] = mkNum(n)
}
- otherValBytes[i] = bjoin(numbs...)
+ otherValBytes[i] = serialize.Join(numbs...)
}
Convey("Test MultiIterator", t, func() {
« no previous file with comments | « impl/memory/gkvlite_iter.go ('k') | service/datastore/serialize/binary_tools.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698