chore: fix function name in comment

Signed-off-by: zhuhaicity <zhuhai@52it.net>
This commit is contained in:
zhuhaicity 2025-01-12 15:19:36 +08:00
parent 0745e55762
commit 45fb82987d

View file

@ -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",