Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 33e6e19

Browse files
knqyf263thaJeztah
authored andcommitted
fix(pull_test): for quiet option
Signed-off-by: Teppei Fukuda <knqyf263@gmail.com> (cherry picked from commit 7634872a39055ebfed15eb1b3ceeebdd0ecd69d5) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 829173873305d6235c8fc56a559cf6532d55d982 Component: cli
1 parent a2f2b95 commit 33e6e19

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

components/cli/cli/command/image/pull_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ func TestNewPullCommandSuccess(t *testing.T) {
5050
testCases := []struct {
5151
name string
5252
args []string
53-
flags map[string]string
5453
expectedTag string
5554
}{
5655
{
@@ -64,11 +63,8 @@ func TestNewPullCommandSuccess(t *testing.T) {
6463
expectedTag: "image:latest",
6564
},
6665
{
67-
name: "simple-quiet",
68-
args: []string{"image"},
69-
flags: map[string]string{
70-
"quiet": "true",
71-
},
66+
name: "simple-quiet",
67+
args: []string{"--quiet", "image"},
7268
expectedTag: "image:latest",
7369
},
7470
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Using default tag: latest
21
docker.io/library/image:latest

0 commit comments

Comments
 (0)