Correct assertion text

This commit is contained in:
Dan Buch 2016-05-10 13:51:54 -04:00
parent b9d96954ca
commit 6f3bb94eae
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

View File

@ -235,7 +235,7 @@ func TestShowSubcommandHelp_CommandAliases(t *testing.T) {
app.Run([]string{"foo", "help"}) app.Run([]string{"foo", "help"})
if !strings.Contains(output.String(), "frobbly, fr, frob, bork") { if !strings.Contains(output.String(), "frobbly, fr, frob, bork") {
t.Errorf("expected output to include command name; got: %q", output.String()) t.Errorf("expected output to include all command aliases; got: %q", output.String())
} }
} }