Skip to content

Commit

Permalink
Merge pull request #2069 from knqyf263/fix/pull_test
Browse files Browse the repository at this point in the history
fix(pull_test): --quiet option
  • Loading branch information
vdemeester authored Aug 30, 2019
2 parents 58153b2 + 7634872 commit 5e99c05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions cli/command/image/pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func TestNewPullCommandSuccess(t *testing.T) {
testCases := []struct {
name string
args []string
flags map[string]string
expectedTag string
}{
{
Expand All @@ -64,11 +63,8 @@ func TestNewPullCommandSuccess(t *testing.T) {
expectedTag: "image:latest",
},
{
name: "simple-quiet",
args: []string{"image"},
flags: map[string]string{
"quiet": "true",
},
name: "simple-quiet",
args: []string{"--quiet", "image"},
expectedTag: "image:latest",
},
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Using default tag: latest
docker.io/library/image:latest

0 comments on commit 5e99c05

Please sign in to comment.