mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Make gofmt -s pass (#355)
This commit is contained in:
parent
856b96dcb4
commit
6e91dded25
1 changed files with 1 additions and 2 deletions
|
@ -146,8 +146,7 @@ func TestInitHelpFlagMergesFlags(t *testing.T) {
|
||||||
cmd.initHelpFlag()
|
cmd.initHelpFlag()
|
||||||
actual := cmd.Flags().Lookup("help").Usage
|
actual := cmd.Flags().Lookup("help").Usage
|
||||||
if actual != usage {
|
if actual != usage {
|
||||||
t.Fatalf("Expected the help flag from the base command with usage '%s', " +
|
t.Fatalf("Expected the help flag from the base command with usage '%s', but got the default with usage '%s'", usage, actual)
|
||||||
"but got the default with usage '%s'", usage, actual)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue