Add ProcessHelp call to Helptext test.

License: MIT
Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
上级 e7e22597
...@@ -29,5 +29,6 @@ func checkHelptextRecursive(t *testing.T, name []string, c *cmds.Command) { ...@@ -29,5 +29,6 @@ func checkHelptextRecursive(t *testing.T, name []string, c *cmds.Command) {
} }
func TestHelptexts(t *testing.T) { func TestHelptexts(t *testing.T) {
Root.ProcessHelp()
checkHelptextRecursive(t, []string{"ipfs"}, Root) checkHelptextRecursive(t, []string{"ipfs"}, Root)
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论