Update tests to use gotest.tools angel

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2018-06-08 21:02:01 +02:00
parent 3830180ce5
commit 832b05ae67
15 changed files with 21 additions and 21 deletions

View File

@@ -25,9 +25,9 @@ import (
"testing"
"github.com/containerd/containerd/errdefs"
"github.com/gotestyourself/gotestyourself/assert"
is "github.com/gotestyourself/gotestyourself/assert/cmp"
"github.com/opencontainers/go-digest"
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
)
type copySource struct {

View File

@@ -37,9 +37,9 @@ import (
"github.com/containerd/containerd/content"
"github.com/containerd/containerd/content/testsuite"
"github.com/containerd/containerd/pkg/testutil"
"github.com/gotestyourself/gotestyourself/assert"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"gotest.tools/assert"
)
type memoryLabelStore struct {

View File

@@ -31,10 +31,10 @@ import (
"github.com/containerd/containerd/content"
"github.com/containerd/containerd/pkg/testutil"
"github.com/gotestyourself/gotestyourself/assert"
digest "github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/pkg/errors"
"gotest.tools/assert"
)
// ContentSuite runs a test suite on the content store given a factory function.