Merge pull request #280 from gummiboll/fix-for-testcommandignoreflags

Added a flag for TestCommandIgnoreFlags
This commit is contained in:
Jesse Szwedko 2015-10-05 20:05:46 -07:00
commit f35cf683a8

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)