Skip to content
Snippets Groups Projects
Verified Commit 6106c15e authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix remove one test renmant

parent 946ff092
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment