mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-23 14:49:30 +01:00
Extra delay to make test more reliable
This commit is contained in:
parent
0fec2d5ba9
commit
f1ca76a5a0
@ -1813,7 +1813,7 @@ func testTui_search(t testing.TB) {
|
||||
|
||||
// Check the output when the search is invalid
|
||||
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
||||
{Keys: "hishtory SPACE tquery ENTER"},
|
||||
{Keys: "hishtory SPACE tquery ENTER", ExtraDelay: 1.0},
|
||||
// ExtraDelay to ensure that the search for 'ls' finishes before we make it invalid by adding ':'
|
||||
{Keys: "ls", ExtraDelay: 1.5},
|
||||
{Keys: ":"},
|
||||
|
Loading…
Reference in New Issue
Block a user