diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-12-19 20:51:49 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-12-19 21:05:26 +0900 |
| commit | e60a9a628b48bb1304db30b3c2d9e051c3af05cd (patch) | |
| tree | 704c8886e96cd6125b3c40dfd4d117f5459d715d /test | |
| parent | 01676919414a1b78e6255b2f217d42dab1076d50 (diff) | |
| download | fzf-e60a9a628b48bb1304db30b3c2d9e051c3af05cd.tar.gz | |
Add toggle-multi-line action
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test_go.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 105e8ef0..66e1c429 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -2133,7 +2133,11 @@ class TestGoFZF < TestBase end def test_keep_right - tmux.send_keys "seq 10000 | #{FZF} --read0 --keep-right --no-multi-line", :Enter + tmux.send_keys "seq 10000 | #{FZF} --read0 --keep-right --no-multi-line --bind space:toggle-multi-line", :Enter + tmux.until { |lines| assert lines.any_include?('9999␊10000') } + tmux.send_keys :Space + tmux.until { |lines| assert lines.any_include?('> 1') } + tmux.send_keys :Space tmux.until { |lines| assert lines.any_include?('9999␊10000') } end |
