summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-13 12:45:01 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-13 12:45:01 +0900
commitba0935c71f5507958056201ddad2fc48674a586d (patch)
tree1fd1e98765cb4ef61dfb5d83de2876bba79c9377 /test
parentd83eb2800a09d86e17c0339d86bd1f22f68164a8 (diff)
downloadfzf-ba0935c71f5507958056201ddad2fc48674a586d.tar.gz
Fix change-nth
* Proper clean-up of caches * Force rerender list after the action
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb4
1 files changed, 3 insertions, 1 deletions
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