From 8648f303519560b0e97ede6c839be8834acefa3a Mon Sep 17 00:00:00 2001 From: ThedosiouTh Date: Sat, 28 May 2022 11:48:04 +0300 Subject: [PATCH] TC: Add missing tests for argumetns Signed-off-by: ThedosiouTh --- cmd/compatibility/convert_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cmd/compatibility/convert_test.go b/cmd/compatibility/convert_test.go index 68fc66de7..1de3e58dd 100644 --- a/cmd/compatibility/convert_test.go +++ b/cmd/compatibility/convert_test.go @@ -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"},