Restore previous behavior

This commit is contained in:
Junegunn Choi
2024-12-09 18:27:02 +09:00
parent 3fc0bd26a5
commit 3148b0f3e8
2 changed files with 10 additions and 0 deletions

View File

@@ -3081,6 +3081,13 @@ class TestGoFZF < TestBase
end
end
def test_preview_window_width_exception
tmux.send_keys "seq 10 | #{FZF} --scrollbar --preview-window border-left --border --preview 'seq 1000'", :Enter
tmux.until do |lines|
assert lines[1]&.end_with?(' 1/1000││')
end
end
def test_become
tmux.send_keys "seq 100 | #{FZF} --bind 'enter:become:seq {} | #{FZF}'", :Enter
tmux.until { |lines| assert_equal 100, lines.item_count }