diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-17 12:51:51 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-17 13:12:51 +0900 |
| commit | 0d5aebb806f3efef317bf49349100509eb1de67b (patch) | |
| tree | 1320a53a67ac41667acf94802c938213295b63f2 /test | |
| parent | 13135108906fce00dab5a403bf308e19382e630e (diff) | |
| download | fzf-0d5aebb806f3efef317bf49349100509eb1de67b.tar.gz | |
Allow setting border styles at once with --style full:STYLE
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test_go.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index f7c5b962..e782b979 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -3719,6 +3719,24 @@ class TestGoFZF < TestBase tmux.until { assert_block(block, _1) } end + def test_style_full_adaptive_height_double + tmux.send_keys %(seq 1| #{FZF} --style=full:double --border --height=~100% --header-lines=1 --info=default), :Enter + block = <<~BLOCK + ╔══════════ + ║ ╔════════ + ║ ╚════════ + ║ ╔════════ + ║ ║ 1 + ║ ╚════════ + ║ ╔════════ + ║ ║ 0/0 + ║ ║ > + ║ ╚════════ + ╚══════════ + BLOCK + tmux.until { assert_block(block, _1) } + end + def test_change_nth input = [ *[''] * 1000, |
