kvdb/test: generalize etcd tests

This commit is contained in:
Joost Jager
2021-07-06 16:31:24 +02:00
parent bb5c3f3b51
commit 3c6d35ec41
10 changed files with 307 additions and 313 deletions

View File

@@ -38,8 +38,8 @@ func TestCopy(t *testing.T) {
require.Nil(t, err)
expected := map[string]string{
bkey("apple"): bval("apple"),
vkey("key", "apple"): "val",
BucketKey("apple"): BucketVal("apple"),
ValueKey("key", "apple"): "val",
}
require.Equal(t, expected, f.Dump())
}