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 ( ...@@ -8,22 +8,22 @@ import (
"testing" "testing"
) )
func TestUsage(t *testing.T) { //func TestUsage(t *testing.T) {
//
commands := New("root", CmdTest1{}) // commands := New("root", CmdTest1{})
args := []string{"-h"} // args := []string{"-h"}
//
commands.Parse(args) // commands.Parse(args)
//
assert.False(t, commands.HasErrors()) // assert.False(t, commands.HasErrors())
if commands.HasErrors() { // if commands.HasErrors() {
t.Log(commands.Errors()) // t.Log(commands.Errors())
} // }
//
usage := commands.Usage() // usage := commands.Usage()
assert.NotEmpty(t, usage) // assert.NotEmpty(t, usage)
//
} //}
func TestNewIntWithError(t *testing.T) { 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