Added a flag for TestCommandIgnoreFlags

main
Emil Thelin 9 years ago
parent a65b733b30
commit a9585bb11c

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

Loading…
Cancel
Save