From 9c4f7fc5a953dfc3c20bcdebea49801451dedd5c Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 20 Oct 2024 10:13:07 -0700 Subject: [PATCH] Update test --- client/client_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/client_test.go b/client/client_test.go index d51cee7..38d8c4b 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -2910,11 +2910,12 @@ echo foo`) out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{ {Keys: "hishtory SPACE tquery ENTER", ExtraDelay: 1.0}, {Keys: "-pipefail", ExtraDelay: 1.0}, - {Keys: "Down Down"}, + {Keys: "Down Down Down"}, {Keys: "ENTER", ExtraDelay: 1.0}, }) out = stripTuiCommandPrefix(t, out) - require.Contains(t, out, "\necho foo\n") + require.Contains(t, out, "echo foo\n") + require.NotContains(t, out, "hishtory tquery") require.NotContains(t, out, "echo baz") require.NotContains(t, out, "config-set") }