|
@@ -11,7 +11,7 @@ import (
|
|
"github.com/docker/docker/pkg/discovery"
|
|
"github.com/docker/docker/pkg/discovery"
|
|
"github.com/docker/libkv"
|
|
"github.com/docker/libkv"
|
|
"github.com/docker/libkv/store"
|
|
"github.com/docker/libkv/store"
|
|
- "github.com/go-check/check"
|
|
|
|
|
|
+ "gotest.tools/assert"
|
|
)
|
|
)
|
|
|
|
|
|
// Hook up gocheck into the "go test" runner.
|
|
// Hook up gocheck into the "go test" runner.
|
|
@@ -19,7 +19,7 @@ func Test(t *testing.T) { /*check.TestingT(t)*/ }
|
|
|
|
|
|
type DiscoverySuite struct{}
|
|
type DiscoverySuite struct{}
|
|
|
|
|
|
- /*check.Suite(&DiscoverySuite{})*/
|
|
|
|
|
|
+/*check.Suite(&DiscoverySuite{})*/
|
|
|
|
|
|
func (ds *DiscoverySuite) TestInitialize(c *testing.T) {
|
|
func (ds *DiscoverySuite) TestInitialize(c *testing.T) {
|
|
storeMock := &FakeStore{
|
|
storeMock := &FakeStore{
|