mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
commands: Fixed tests
This commit is contained in:
@ -11,7 +11,7 @@ func TestOptionParsing(t *testing.T) {
|
||||
subCmd := &commands.Command{}
|
||||
cmd := &commands.Command{
|
||||
Options: []commands.Option{
|
||||
commands.Option{Names: []string{"b"}, Type: commands.String},
|
||||
commands.StringOption("b", "some option"),
|
||||
},
|
||||
Subcommands: map[string]*commands.Command{
|
||||
"test": subCmd,
|
||||
|
Reference in New Issue
Block a user