gofmt -s command test

This commit is contained in:
Ben Gadbois 2016-10-25 19:59:21 +02:00
parent 856b96dcb4
commit a20ce4d539

View file

@ -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)
} }
} }