Update TestCommandIgnoreFlagsIncludingFirstArgument to test for arguments

This commit is contained in:
Jesse Szwedko
2015-10-26 21:45:28 -07:00
parent 6191d931b7
commit 8cd49b108c
2 changed files with 4 additions and 3 deletions

View File

@@ -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"})
}