diff options
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 dcfe1d78..6e844527 100644 --- a/test/test_layout.rb +++ b/test/test_layout.rb @@ -876,4 +876,19 @@ class TestLayout < TestInteractive BLOCK tmux.until { assert_block(block, _1) } end + + def test_min_height_auto_no_input + tmux.send_keys %(seq 100 | #{FZF} --style full:sharp --no-input --height 1% --min-height 5+), :Enter + + block = <<~BLOCK + ┌───────── + │ 5 + │ 4 + │ 3 + │ 2 + │ > 1 + └───────── + BLOCK + tmux.until { assert_block(block, _1) } + end end |
