mirror of
https://github.com/spf13/cobra
synced 2025-01-27 14:06:46 +00:00
chore: fix function name in comment (#2216)
Signed-off-by: zhuhaicity <zhuhai@52it.net>
This commit is contained in:
parent
0745e55762
commit
01ffff4eca
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ func TestPlugin(t *testing.T) {
|
||||||
checkStringContains(t, cmdHelp, "version for kubectl plugin")
|
checkStringContains(t, cmdHelp, "version for kubectl plugin")
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestPlugin checks usage as plugin with sub commands.
|
// TestPluginWithSubCommands checks usage as plugin with sub commands.
|
||||||
func TestPluginWithSubCommands(t *testing.T) {
|
func TestPluginWithSubCommands(t *testing.T) {
|
||||||
rootCmd := &Command{
|
rootCmd := &Command{
|
||||||
Use: "kubectl-plugin",
|
Use: "kubectl-plugin",
|
||||||
|
|
Loading…
Reference in a new issue