From 96d14d3b9fa8786ea1c6be1a49c2253a9a2d9ecb Mon Sep 17 00:00:00 2001 From: David Dworken Date: Fri, 1 Sep 2023 21:54:12 -0700 Subject: [PATCH] Add extra timing between search and the atom that makes it invalid to ensure that the initial search is processed --- client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_test.go b/client/client_test.go index 6d7918a..8b574e7 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -1862,7 +1862,7 @@ func testTui_search(t testing.TB) { // Check the output when the search is invalid out = captureTerminalOutput(t, tester, []string{ "hishtory SPACE tquery ENTER", - "ls:", + "ls", ":", }) out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1]) testutils.CompareGoldens(t, out, "TestTui-InvalidSearch")