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