1
0
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:
Matt Bell
2014-11-02 17:04:15 -08:00
committed by Juan Batiz-Benet
parent 3a8d60cc61
commit 39c78fbe06

View File

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