make cmd.Run use varargs
This commit is contained in:
@@ -43,7 +43,7 @@ func TestCommandFlagParsing(t *testing.T) {
|
||||
isRoot: true,
|
||||
}
|
||||
|
||||
err := command.Run(cCtx, c.testArgs)
|
||||
err := command.Run(cCtx, c.testArgs...)
|
||||
|
||||
expect(t, err, c.expectedErr)
|
||||
//expect(t, cCtx.Args().Slice(), c.testArgs)
|
||||
|
Reference in New Issue
Block a user