summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-17 12:51:51 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-17 13:12:51 +0900
commit0d5aebb806f3efef317bf49349100509eb1de67b (patch)
tree1320a53a67ac41667acf94802c938213295b63f2 /test
parent13135108906fce00dab5a403bf308e19382e630e (diff)
downloadfzf-0d5aebb806f3efef317bf49349100509eb1de67b.tar.gz
Allow setting border styles at once with --style full:STYLE
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb18
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,