mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-22 16:24:00 +01:00
Another set of extra delays for testTui/search, similar to 37c06a31db
This commit is contained in:
parent
cc10689d09
commit
3a8243d25d
@ -1932,9 +1932,9 @@ func testTui_search(t testing.TB) {
|
||||
}
|
||||
|
||||
// Check the output when the initial search is invalid
|
||||
out = captureTerminalOutput(t, tester, []string{
|
||||
"hishtory SPACE tquery SPACE foo: ENTER",
|
||||
"ls",
|
||||
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
||||
{Keys: "hishtory SPACE tquery SPACE foo: ENTER", ExtraDelay: 1.0},
|
||||
{Keys: "ls", ExtraDelay: 1.0},
|
||||
})
|
||||
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
|
||||
testutils.CompareGoldens(t, out, "TestTui-InitialInvalidSearch")
|
||||
|
Loading…
Reference in New Issue
Block a user