diff options
| author | phanium <91544758+phanen@users.noreply.github.com> | 2025-04-13 19:24:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 20:24:29 +0900 |
| commit | 66df24040fed3c76df545fc34b47387c86922786 (patch) | |
| tree | 42e9bd83fb67daac3b2a6033b796046fce12adb5 /test/test_layout.rb | |
| parent | ed4442d9eaef9bc6dfb65b4f6c2b079060bbb4f7 (diff) | |
| download | fzf-66df24040fed3c76df545fc34b47387c86922786.tar.gz | |
Fix panic when use header border without pointer/marker (#4345)
Diffstat (limited to 'test/test_layout.rb')
| -rw-r--r-- | test/test_layout.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_layout.rb b/test/test_layout.rb index 401f0f35..ed384712 100644 --- a/test/test_layout.rb +++ b/test/test_layout.rb @@ -991,4 +991,16 @@ class TestLayout < TestInteractive BLOCK tmux.until { assert_block(block, it) } end + + def test_header_border_no_pointer_and_marker + tmux.send_keys %(seq 10 | #{FZF} --header-lines 1 --header-border sharp --no-list-border --pointer '' --marker ''), :Enter + block = <<~BLOCK + ┌────── + │ 1 + └────── + 9/9 ─ + > + BLOCK + tmux.until { assert_block(block, it) } + end end |
