mirror of
https://github.com/spf13/cobra
synced 2024-12-27 14:57:06 +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()
|
||||
actual := cmd.Flags().Lookup("help").Usage
|
||||
if actual != usage {
|
||||
t.Fatalf("Expected the help flag from the base command with usage '%s', " +
|
||||
"but got the default with usage '%s'", usage, actual)
|
||||
t.Fatalf("Expected the help flag from the base command with usage '%s', but got the default with usage '%s'", usage, actual)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue