1
0
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:
Matt Bell
2014-11-19 00:36:42 -08:00
parent 4c1a5f6816
commit ae6f00d766
2 changed files with 6 additions and 6 deletions

View File

@ -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,