mirror of
https://github.com/docker/cli.git
synced 2026-09-28 02:06:53 -04:00
Update tests to use gotest.tools 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 38457285242e57306c5b7ee652c7ccbb9fbd6713 Component: engine
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
"github.com/docker/docker/pkg/idtools"
|
||||
"github.com/docker/docker/pkg/mount"
|
||||
"github.com/gotestyourself/gotestyourself/skip"
|
||||
"gotest.tools/skip"
|
||||
)
|
||||
|
||||
func TestGetAddress(t *testing.T) {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/gotestyourself/gotestyourself/assert"
|
||||
is "github.com/gotestyourself/gotestyourself/assert/cmp"
|
||||
"gotest.tools/assert"
|
||||
is "gotest.tools/assert/cmp"
|
||||
)
|
||||
|
||||
func TestSetGetMeta(t *testing.T) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
volumedrivers "github.com/docker/docker/volume/drivers"
|
||||
"github.com/docker/docker/volume/service/opts"
|
||||
volumetestutils "github.com/docker/docker/volume/testutils"
|
||||
"github.com/gotestyourself/gotestyourself/assert"
|
||||
"gotest.tools/assert"
|
||||
)
|
||||
|
||||
func TestRestore(t *testing.T) {
|
||||
|
||||
@@ -13,8 +13,8 @@ import (
|
||||
"github.com/docker/docker/volume/local"
|
||||
"github.com/docker/docker/volume/service/opts"
|
||||
"github.com/docker/docker/volume/testutils"
|
||||
"github.com/gotestyourself/gotestyourself/assert"
|
||||
is "github.com/gotestyourself/gotestyourself/assert/cmp"
|
||||
"gotest.tools/assert"
|
||||
is "gotest.tools/assert/cmp"
|
||||
)
|
||||
|
||||
func TestLocalVolumeSize(t *testing.T) {
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
volumedrivers "github.com/docker/docker/volume/drivers"
|
||||
"github.com/docker/docker/volume/service/opts"
|
||||
"github.com/docker/docker/volume/testutils"
|
||||
"github.com/gotestyourself/gotestyourself/assert"
|
||||
is "github.com/gotestyourself/gotestyourself/assert/cmp"
|
||||
"gotest.tools/assert"
|
||||
is "gotest.tools/assert/cmp"
|
||||
)
|
||||
|
||||
func TestServiceCreate(t *testing.T) {
|
||||
|
||||
@@ -15,8 +15,8 @@ import (
|
||||
"github.com/docker/docker/volume/service/opts"
|
||||
volumetestutils "github.com/docker/docker/volume/testutils"
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/gotestyourself/gotestyourself/assert"
|
||||
is "github.com/gotestyourself/gotestyourself/assert/cmp"
|
||||
"gotest.tools/assert"
|
||||
is "gotest.tools/assert/cmp"
|
||||
)
|
||||
|
||||
func TestCreate(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user