Fix test broken by 7ae9f15b by making sure input is sent and processed as separate events

This commit is contained in:
David Dworken 2024-04-20 18:47:30 -07:00
parent c5f528b00b
commit 6e6c3c23cb
No known key found for this signature in database

View File

@ -2056,7 +2056,9 @@ func testTui_search(t *testing.T, onlineStatus OnlineStatus) {
// And check that we can quote colons
out = stripTuiCommandPrefix(t, captureTerminalOutput(t, tester, []string{
"hishtory SPACE tquery ENTER",
"foo:bar",
"foo",
":",
"bar",
}))
testutils.CompareGoldens(t, out, "TestTui-SearchColonError")
out = stripTuiCommandPrefix(t, captureTerminalOutput(t, tester, []string{