From e47dc758c90fc151ef86dc5f189fdea19383d962 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 7 Jan 2024 15:43:17 +0900 Subject: Fix focus event not triggered in certain cases --- test/test_go.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/test_go.rb b/test/test_go.rb index 1c1133df..aa4dfd41 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -2711,6 +2711,10 @@ class TestGoFZF < TestBase tmux.until { |lines| assert_includes(lines[-1], '[[2]]') } tmux.send_keys :X tmux.until { |lines| assert_includes(lines[-1], '[[]]') } + tmux.send_keys :BSpace + tmux.until { |lines| assert_includes(lines[-1], '[[1]]') } + tmux.send_keys :X + tmux.until { |lines| assert_includes(lines[-1], '[[]]') } tmux.send_keys '?' tmux.send_keys :BSpace tmux.until { |lines| assert_equal 100, lines.match_count } -- cgit v1.2.3