From 77f9f4664ac9002358735f152ea429e2a578aee2 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 29 Apr 2023 21:27:30 +0900 Subject: Fix search not triggered when query change and reload happen at the same time Fix #3268 --- test/test_go.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/test_go.rb b/test/test_go.rb index 7cdacdef..ff459e1c 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -2861,6 +2861,11 @@ class TestGoFZF < TestBase tmux.send_keys :c tmux.until { |lines| assert_equal 0, lines.match_count } end + + def test_reload_and_change + tmux.send_keys "(echo foo; echo bar) | #{FZF} --bind 'load:reload-sync(sleep 60)+change-query(bar)'", :Enter + tmux.until { |lines| assert_equal 1, lines.match_count } + end end module TestShell -- cgit v1.2.3