From a5c2f28539c460d9ac42d1a8e37f2b149b694d4a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 29 Mar 2020 22:06:06 +0900 Subject: [PATCH] Fix failing test case --- test/test_go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_go.rb b/test/test_go.rb index 83d189f..a1ea33a 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -1846,7 +1846,7 @@ module TestShell tmux.send_keys 'C-r' tmux.until { |lines| lines.match_count.positive? } end - tmux.send_keys '3d' + tmux.send_keys 'e3d' # Duplicates removed: 3d (1) + 3rd (1) => 2 matches tmux.until { |lines| lines.match_count == 2 } tmux.until { |lines| lines[-3].end_with? 'echo 3d' }