From 0d5aebb806f3efef317bf49349100509eb1de67b Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 17 Jan 2025 12:51:51 +0900 Subject: Allow setting border styles at once with --style full:STYLE --- test/test_go.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test') 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, -- cgit v1.2.3