From ba0935c71f5507958056201ddad2fc48674a586d Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 13 Jan 2025 12:45:01 +0900 Subject: Fix change-nth * Proper clean-up of caches * Force rerender list after the action --- test/test_go.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_go.rb b/test/test_go.rb index b40bfb42..6a7f2ce4 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -3721,10 +3721,12 @@ class TestGoFZF < TestBase def test_change_nth input = [ + *[''] * 1000, 'foo bar bar bar bar', 'foo foo bar bar bar', 'foo foo foo bar bar', - 'foo foo foo foo bar' + 'foo foo foo foo bar', + *[''] * 1000 ] writelines(input) tmux.send_keys %(#{FZF} -qfoo -n1 --bind 'space:change-nth:2|3|4|5|' < #{tempname}), :Enter -- cgit v1.2.3