mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-19 19:37:59 +02:00
Fix test broken by 7ae9f15b by making sure input is sent and processed as separate events
This commit is contained in:
parent
1def962555
commit
dc627f09cd
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user