From 9a4aaf6d9c3e8a6028c8643ad5c8602b219e5439 Mon Sep 17 00:00:00 2001 From: Jun Nishimura Date: Sun, 23 Jul 2023 15:38:41 +0900 Subject: [PATCH] tiny fix for TestRemoveParentPersistentArgs --- command_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_test.go b/command_test.go index 9a25ba9c..3b6d59d4 100644 --- a/command_test.go +++ b/command_test.go @@ -2852,7 +2852,7 @@ func TestRemoveParentPersistentArgs(t *testing.T) { childCmd.PersistentFlags().Bool("cp", false, "") childCmd.Flags().Int("int", 0, "") - output, err := executeCommand(rootCmd, "child", "--rp", "--ri", "10", "--cp", "--int", "10") + output, err := executeCommand(rootCmd, "child", "-r", "--ri", "10", "--cp", "--int", "10") if output != "" { t.Errorf("Unexpected output: %v", output) }