mirror of
https://github.com/spf13/cobra
synced 2024-11-04 21:07:19 +00:00
tiny fix for TestRemoveParentPersistentArgs
This commit is contained in:
parent
eb493c9ca9
commit
9a4aaf6d9c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue