Skip to content

Commit

Permalink
memo: Test it.
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Nottale <[email protected]>
  • Loading branch information
Matthieu Nottale committed Aug 7, 2017
1 parent 5d43b1e commit 2cc4745
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions store/memo/memo_test.go
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit 2cc4745

Please sign in to comment.