commands: Fixed tests
Matt Bell committed
Nov 2, 2014 at 17:04 UTC
39c78fbe06176445f2b0dd4693da4239ac4d8103
1 file changed
+1
-1
commands/command_test.go
+1
-1
@@ -105,7 +105,7 @@ func TestRegistration(t *testing.T) {
105
Run: noop,
106
}
107
108
- res := cmdB.Call(NewRequest([]string{"a"}, nil, nil, nil, nil))
108
+ res := cmdB.Call(NewRequest([]string{"a"}, nil, nil, nil))
109
if res.Error() == nil {
110
t.Error("Should have failed (option name collision)")
111
}