mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 11:57:50 +02:00
Add additional delay for TestTui-Search
This commit is contained in:
parent
ab567edce3
commit
6bc70d0732
@ -1687,7 +1687,7 @@ func TestTui(t *testing.T) {
|
|||||||
// Check the output when there is a search
|
// Check the output when there is a search
|
||||||
out = captureTerminalOutput(t, tester, []string{
|
out = captureTerminalOutput(t, tester, []string{
|
||||||
"hishtory SPACE tquery ENTER",
|
"hishtory SPACE tquery ENTER",
|
||||||
"ls",
|
"ls", "",
|
||||||
})
|
})
|
||||||
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
|
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
|
||||||
testutils.CompareGoldens(t, out, "TestTui-Search")
|
testutils.CompareGoldens(t, out, "TestTui-Search")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user