From 2cc474585442a9415ce0d5b23dd995b2a187e806 Mon Sep 17 00:00:00 2001 From: Matthieu Nottale Date: Mon, 7 Aug 2017 14:26:34 +0200 Subject: [PATCH] memo: Test it. Signed-off-by: Matthieu Nottale --- store/memo/memo_test.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 store/memo/memo_test.go diff --git a/store/memo/memo_test.go b/store/memo/memo_test.go new file mode 100644 index 00000000..8709a66c --- /dev/null +++ b/store/memo/memo_test.go @@ -0,0 +1,17 @@ +package memo + +import ( + "github.com/docker/libkv" + "github.com/docker/libkv/testutils" + "testing" +) + +func TestMemoStore(t *testing.T) { + Register() + kv, err := libkv.NewStore("memo", []string{"localhost:9000"}, nil) + if err != nil { + t.Fatal("error instantiating memo") + } + testutils.RunTestCommon(t, kv) + testutils.RunCleanup(t, kv) +}