Skip to content

Commit 29eaada

Browse files
author
Matthieu Nottale
committed
memo: Test it.
1 parent 40c98f7 commit 29eaada

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

store/memo/memo_test.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package memo
2+
3+
import (
4+
"github.com/docker/libkv"
5+
"github.com/docker/libkv/testutils"
6+
"testing"
7+
)
8+
9+
func TestMemoStore(t *testing.T) {
10+
Register()
11+
kv, err := libkv.NewStore("memo", []string{"localhost:9000"}, nil)
12+
if err != nil {
13+
t.Fatal("error instantiating memo")
14+
}
15+
testutils.RunTestCommon(t, kv)
16+
testutils.RunCleanup(t, kv)
17+
}

0 commit comments

Comments
 (0)