Added a flag for TestCommandIgnoreFlags

This commit is contained in:
Emil Thelin 2015-10-03 17:19:04 +02:00
parent a65b733b30
commit a9585bb11c

View File

@ -28,7 +28,7 @@ func TestCommandDoNotIgnoreFlags(t *testing.T) {
func TestCommandIgnoreFlags(t *testing.T) {
app := NewApp()
set := flag.NewFlagSet("test", 0)
test := []string{"blah", "blah"}
test := []string{"blah", "blah", "-break"}
set.Parse(test)
c := NewContext(app, set, nil)