From 6106c15e139cd6f558ef3604e5f014ff2dae30d5 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Sat, 8 Oct 2022 16:55:17 +0200 Subject: [PATCH] fix remove one test renmant --- api_test.go | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/api_test.go b/api_test.go index 93a0169..c235b03 100644 --- a/api_test.go +++ b/api_test.go @@ -8,22 +8,22 @@ import ( "testing" ) -func TestUsage(t *testing.T) { - - commands := New("root", CmdTest1{}) - args := []string{"-h"} - - commands.Parse(args) - - assert.False(t, commands.HasErrors()) - if commands.HasErrors() { - t.Log(commands.Errors()) - } - - usage := commands.Usage() - assert.NotEmpty(t, usage) - -} +//func TestUsage(t *testing.T) { +// +// commands := New("root", CmdTest1{}) +// args := []string{"-h"} +// +// commands.Parse(args) +// +// assert.False(t, commands.HasErrors()) +// if commands.HasErrors() { +// t.Log(commands.Errors()) +// } +// +// usage := commands.Usage() +// assert.NotEmpty(t, usage) +// +//} func TestNewIntWithError(t *testing.T) { -- GitLab