Update TestCommandIgnoreFlagsIncludingFirstArgument to test for arguments
This commit is contained in:
@@ -64,6 +64,7 @@ func TestCommandIgnoreFlagsIncludingFirstArgument(t *testing.T) {
|
||||
SkipFlagParsing: true,
|
||||
}
|
||||
err := command.Run(c)
|
||||
|
||||
expect(t, err, nil)
|
||||
|
||||
expect(t, []string(c.Args()), []string{"blah", "-break"})
|
||||
}
|
||||
|
Reference in New Issue
Block a user