Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
-Fix whitespace on imports
-Fix test case naming

Signed-off-by: Jack Baines <jack.baines@uk.ibm.com>
  • Loading branch information
bainsy88 committed Mar 21, 2019
1 parent 908b771 commit d15832a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions remotes/docker/fetcher.go
Expand Up @@ -26,11 +26,10 @@ import (
"path"
"strings"

"github.com/docker/distribution/registry/api/errcode"

"github.com/containerd/containerd/errdefs"
"github.com/containerd/containerd/images"
"github.com/containerd/containerd/log"
"github.com/docker/distribution/registry/api/errcode"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
Expand Down
4 changes: 2 additions & 2 deletions remotes/docker/fetcher_test.go
Expand Up @@ -99,8 +99,8 @@ func TestFetcherOpen(t *testing.T) {
}
}

// New set of test to test new error cases
func Test_dockerFetcher_open(t *testing.T) {
// New set of tests to test new error cases
func TestDockerFetcherOpen(t *testing.T) {
tests := []struct {
name string
mockedStatus int
Expand Down

0 comments on commit d15832a

Please sign in to comment.