mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-27 17:28:52 +01:00
Fix test broken by 7ae9f15b
by making sure input is sent and processed as separate events
This commit is contained in:
parent
c5f528b00b
commit
6e6c3c23cb
@ -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…
Reference in New Issue
Block a user