Correct assertion text
This commit is contained in:
parent
b9d96954ca
commit
6f3bb94eae
@ -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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user