forked from mirror/cobra
Make gofmt -s pass (#355)
This commit is contained in:
parent
856b96dcb4
commit
6e91dded25
|
@ -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 New Issue