From a9585bb11cf5bca52069c8f88ff95fa9c469b1a4 Mon Sep 17 00:00:00 2001 From: Emil Thelin Date: Sat, 3 Oct 2015 17:19:04 +0200 Subject: [PATCH] Added a flag for TestCommandIgnoreFlags --- command_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_test.go b/command_test.go index 688d12c..fd39548 100644 --- a/command_test.go +++ b/command_test.go @@ -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)