mirror of
https://github.com/spf13/cobra.git
synced 2025-05-05 15:32:50 +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
@ -390,7 +390,7 @@ func TestPlugin(t *testing.T) {
|
||||
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) {
|
||||
rootCmd := &Command{
|
||||
Use: "kubectl-plugin",
|
||||
|
Loading…
x
Reference in New Issue
Block a user