mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-26 02:03:37 +01:00
Further increase delay to make tests more reliable
This commit is contained in:
parent
2e793b2c10
commit
0b54cebd46
@ -1740,7 +1740,7 @@ func testTui_search(t testing.TB) {
|
||||
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
||||
{Keys: "hishtory SPACE tquery ENTER"},
|
||||
// Extra delay to ensure that the search for 'ls' finishes before we select an entry
|
||||
{Keys: "ls", ExtraDelay: 1.5},
|
||||
{Keys: "ls", ExtraDelay: 2.0},
|
||||
{Keys: "ENTER"},
|
||||
})
|
||||
out = strings.Split(strings.TrimSpace(strings.Split(out, "hishtory tquery")[1]), "\n")[0]
|
||||
|
Loading…
Reference in New Issue
Block a user