mirror of
https://github.com/docker/compose.git
synced 2026-08-03 22:27:30 +00:00
TC: Add missing tests for argumetns
Signed-off-by: ThedosiouTh <thanosthd@gmail.com>
This commit is contained in:
parent
9542bdf445
commit
8648f30351
1 changed files with 10 additions and 0 deletions
|
|
@ -43,11 +43,21 @@ func Test_convert(t *testing.T) {
|
|||
args: []string{"--host", "tcp://1.2.3.4", "up"},
|
||||
want: []string{"--host", "tcp://1.2.3.4", "compose", "up"},
|
||||
},
|
||||
{
|
||||
name: "compose --verbose",
|
||||
args: []string{"--verbose"},
|
||||
want: []string{"--debug", "compose"},
|
||||
},
|
||||
{
|
||||
name: "compose --version",
|
||||
args: []string{"--version"},
|
||||
want: []string{"compose", "version"},
|
||||
},
|
||||
{
|
||||
name: "compose -v",
|
||||
args: []string{"-v"},
|
||||
want: []string{"compose", "version"},
|
||||
},
|
||||
{
|
||||
name: "help",
|
||||
args: []string{"-h"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue