Update tests to use gotest.tools 👼

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2018-06-08 18:24:26 +02:00
parent dd9478a1f7
commit 2c4de4fb5e
176 changed files with 389 additions and 389 deletions

View File

@ -6,7 +6,7 @@ import (
"testing"
"github.com/docker/cli/e2e/internal/fixtures"
"github.com/gotestyourself/gotestyourself/icmd"
"gotest.tools/icmd"
)
func TestAttachExitCode(t *testing.T) {

View File

@ -6,8 +6,8 @@ import (
"github.com/docker/cli/e2e/internal/fixtures"
"github.com/docker/cli/internal/test/environment"
"github.com/gotestyourself/gotestyourself/icmd"
"github.com/gotestyourself/gotestyourself/skip"
"gotest.tools/icmd"
"gotest.tools/skip"
)
func TestCreateWithContentTrust(t *testing.T) {

View File

@ -6,8 +6,8 @@ import (
"time"
"github.com/docker/cli/e2e/internal/fixtures"
"github.com/gotestyourself/gotestyourself/icmd"
"github.com/gotestyourself/gotestyourself/poll"
"gotest.tools/icmd"
"gotest.tools/poll"
)
func TestKillContainer(t *testing.T) {

View File

@ -6,11 +6,11 @@ import (
"github.com/docker/cli/e2e/internal/fixtures"
"github.com/docker/cli/internal/test/environment"
"github.com/gotestyourself/gotestyourself/assert"
is "github.com/gotestyourself/gotestyourself/assert/cmp"
"github.com/gotestyourself/gotestyourself/golden"
"github.com/gotestyourself/gotestyourself/icmd"
"github.com/gotestyourself/gotestyourself/skip"
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
"gotest.tools/golden"
"gotest.tools/icmd"
"gotest.tools/skip"
)
const registryPrefix = "registry:5000"