提交 e34a0fd6 作者: Matt Bell 提交者: Juan Batiz-Benet

commands: Updated tests

上级 d700a2ce
......@@ -107,7 +107,7 @@ func TestRegistration(t *testing.T) {
Run: noop,
}
res := cmdB.Call(NewRequest([]string{"a"}, nil, nil, nil))
res := cmdB.Call(NewRequest([]string{"a"}, nil, nil, nil, nil))
if res.Error() == nil {
t.Error("Should have failed (option name collision)")
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论