Fix broken help command test

This commit is contained in:
David Dworken 2022-09-24 16:18:24 -07:00
parent b63d546168
commit 616d87399f

View File

@ -1189,7 +1189,7 @@ func testHelpCommand(t *testing.T, tester shellTester) {
// Test the help command
out := tester.RunInteractiveShell(t, `hishtory help`)
if !strings.HasPrefix(out, "hishtory: Better shell history\n\nSupported commands:\n") {
if !strings.HasPrefix(out, "hiSHtory: Better shell history\n\nSupported commands:\n") {
t.Fatalf("expected hishtory help to contain intro, actual=%#v", out)
}
out2 := tester.RunInteractiveShell(t, `hishtory -h`)