diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-01 09:28:02 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-01 09:28:02 +0900 |
| commit | d075c00015c3a2045061f289f0a089bc7ad6de5a (patch) | |
| tree | e3225f74cabda54558afb70d3e357133512ca346 /test/test_layout.rb | |
| parent | 6c0ca4a64a4e2f8697dfa830dcae56c1d7ddca51 (diff) | |
| download | fzf-d075c00015c3a2045061f289f0a089bc7ad6de5a.tar.gz | |
Fix --layout reverse-list --no-input
Diffstat (limited to 'test/test_layout.rb')
| -rw-r--r-- | test/test_layout.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test_layout.rb b/test/test_layout.rb index 6e844527..1c5dfca7 100644 --- a/test/test_layout.rb +++ b/test/test_layout.rb @@ -891,4 +891,19 @@ class TestLayout < TestInteractive BLOCK tmux.until { assert_block(block, _1) } end + + def test_min_height_auto_no_input_reverse_list + tmux.send_keys %(seq 100 | #{FZF} --style full:sharp --layout reverse-list --no-input --height 1% --min-height 5+), :Enter + + block = <<~BLOCK + ┌───────── + │ > 1 + │ 2 + │ 3 + │ 4 + │ 5 + └───────── + BLOCK + tmux.until { assert_block(block, _1) } + end end |
