swap a test case

This commit is contained in:
Lynn Cyrin 2019-09-11 21:08:52 -07:00
parent 09cdbbfe28
commit 223e21796c
No known key found for this signature in database
GPG Key ID: EE9CCB427DFEC897

View File

@ -18,7 +18,7 @@ func TestCommandFlagParsing(t *testing.T) {
UseShortOptionHandling bool UseShortOptionHandling bool
}{ }{
// Test normal "not ignoring flags" flow // Test normal "not ignoring flags" flow
{[]string{"test-cmd", "blah", "blah", "-break"}, false, false, errors.New("flag provided but not defined: -break"), false}, {[]string{"test-cmd", "blah", "blah", "-break"}, false, false, nil, false},
// Test no arg reorder // Test no arg reorder
{[]string{"test-cmd", "blah", "blah", "-break"}, false, true, nil, false}, {[]string{"test-cmd", "blah", "blah", "-break"}, false, true, nil, false},