mirror of https://github.com/docker/cli.git
fix(pull_test): for quiet option
Signed-off-by: Teppei Fukuda <knqyf263@gmail.com>
(cherry picked from commit 7634872a39
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ab4a5cc0f7
commit
8291738733
|
@ -50,7 +50,6 @@ func TestNewPullCommandSuccess(t *testing.T) {
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
name string
|
name string
|
||||||
args []string
|
args []string
|
||||||
flags map[string]string
|
|
||||||
expectedTag string
|
expectedTag string
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
|
@ -64,11 +63,8 @@ func TestNewPullCommandSuccess(t *testing.T) {
|
||||||
expectedTag: "image:latest",
|
expectedTag: "image:latest",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "simple-quiet",
|
name: "simple-quiet",
|
||||||
args: []string{"image"},
|
args: []string{"--quiet", "image"},
|
||||||
flags: map[string]string{
|
|
||||||
"quiet": "true",
|
|
||||||
},
|
|
||||||
expectedTag: "image:latest",
|
expectedTag: "image:latest",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
Using default tag: latest
|
|
||||||
docker.io/library/image:latest
|
docker.io/library/image:latest
|
||||||
|
|
Loading…
Reference in New Issue