mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-04 13:27:14 +08:00
commands: Fixed tests
This commit is contained in:

committed by
Juan Batiz-Benet

parent
3a8d60cc61
commit
39c78fbe06
@ -105,7 +105,7 @@ func TestRegistration(t *testing.T) {
|
||||
Run: noop,
|
||||
}
|
||||
|
||||
res := cmdB.Call(NewRequest([]string{"a"}, nil, nil, nil, nil))
|
||||
res := cmdB.Call(NewRequest([]string{"a"}, nil, nil, nil))
|
||||
if res.Error() == nil {
|
||||
t.Error("Should have failed (option name collision)")
|
||||
}
|
||||
|
Reference in New Issue
Block a user