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

Unified Diff: impl/memory/memstore_test.go

Issue 2604943002: impl/memory: Replace gkvlite with "treapstore". (Closed)
Patch Set: Comments. Created 3 years, 11 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/memstore_iter_test.go ('k') | impl/memory/memstore_tracing_utils.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/memstore_test.go
diff --git a/impl/memory/gkvlite_utils_test.go b/impl/memory/memstore_test.go
similarity index 95%
rename from impl/memory/gkvlite_utils_test.go
rename to impl/memory/memstore_test.go
index ef51893e61fc9bfd0e0a67c18e0a7d6fcb03a3d5..b8643ba59583b0c8f33c6538f63b3a211d421623 100644
--- a/impl/memory/gkvlite_utils_test.go
+++ b/impl/memory/memstore_test.go
@@ -110,13 +110,13 @@ func getFilledColl(fill []kv) memCollection {
func TestCollision(t *testing.T) {
t.Parallel()
- Convey("Test gkvCollide", t, func() {
+ Convey("Test memStoreCollide", t, func() {
for _, tc := range testCollisionCases {
Convey(tc.name, func() {
left := getFilledColl(tc.left)
right := getFilledColl(tc.right)
i := 0
- gkvCollide(left, right, func(key, left, right []byte) {
+ memStoreCollide(left, right, func(key, left, right []byte) {
e := tc.expect[i]
So(key, ShouldResemble, e.key)
So(left, ShouldResemble, e.left)
« no previous file with comments | « impl/memory/memstore_iter_test.go ('k') | impl/memory/memstore_tracing_utils.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698