summaryrefslogtreecommitdiff
path: root/integration/internal
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2019-08-29 15:52:40 -0500
committerSam Whited <sam@samwhited.com>2019-09-11 07:47:23 -0500
commitb37c214e3c8c4ff5450bd5fc1225d53827d240e7 (patch)
tree5687180effbed0fef2b57743bbf210fd7fd71af2 /integration/internal
parentcd9e4ec24002fcf3238c1f1e8629e08966c2b7fb (diff)
downloaddocker-b37c214e3c8c4ff5450bd5fc1225d53827d240e7.tar.gz
testutil: make testing packages public
This was done with something along the lines of: ``` mv internal/test testutil pushd testutil/; grep -IRl "package test" | xargs -I '{}' sed -i -e 's|package test|package testutil|g' {}; popd mv internal/testutil/*.go testutil/ && rm -rf internal/ grep -IRl "github.com\/docker\/docker\/internal\/test" | xargs -I '{}' sed -i -e 's|github.com/docker/docker/internal/test|github.com/docker/docker/test|g' {} goimports . ``` I also modified the basic plugin path in testutil/fixtures/plugin. Signed-off-by: Sam Whited <sam@samwhited.com>
Diffstat (limited to 'integration/internal')
-rw-r--r--integration/internal/swarm/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/internal/swarm/service.go b/integration/internal/swarm/service.go
index 28c30880c9..e7198266e6 100644
--- a/integration/internal/swarm/service.go
+++ b/integration/internal/swarm/service.go
@@ -10,8 +10,8 @@ import (
"github.com/docker/docker/api/types/filters"
swarmtypes "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/client"
- "github.com/docker/docker/internal/test/daemon"
- "github.com/docker/docker/internal/test/environment"
+ "github.com/docker/docker/testutil/daemon"
+ "github.com/docker/docker/testutil/environment"
"gotest.tools/assert"
"gotest.tools/poll"
"gotest.tools/skip"