diff options
Diffstat (limited to 'test/test_go.rb')
-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 |