TC: Add missing tests for argumetns

Signed-off-by: ThedosiouTh <thanosthd@gmail.com>
This commit is contained in:
ThedosiouTh 2022-05-28 11:48:04 +03:00
parent 9542bdf445
commit 8648f30351
1 changed files with 10 additions and 0 deletions

View File

@ -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"},