diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-12-05 21:16:35 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-12-05 21:16:35 +0900 |
commit | 2ec382ae0eda85f89a4b977aa39425fb7e710df1 (patch) | |
tree | 344315edbca0e7bcf7455daaeb4f1a4f24be3dfd /test | |
parent | cbfee31593113fd372a728c45b4c73a573839a02 (diff) |
Add --preview-window follow option
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_go.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index d9d1e1bc..416692e2 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -1832,6 +1832,11 @@ class TestGoFZF < TestBase tmux.send_keys 'b' tmux.until { |lines| assert_equal 'b> foo', lines[-1] } end + + def test_preview_window_follow + tmux.send_keys "#{FZF} --preview 'seq 1000 | nl' --preview-window down:noborder:follow", :Enter + tmux.until { |lines| assert_equal '1000 1000', lines[-1].strip } + end end module TestShell |