summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-01-24 17:40:08 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-01-24 17:55:06 +0900
commit618d3178033d80fbe13b70e6387c3f0673a1bf7a (patch)
tree59e897a77b899bfea86f0ff3b7d7acc2788e4353 /test
parentae897c8cdbbaa8f371c6e2fcb976a594a562e1bf (diff)
Support custom separator of inline info
Close #2030 Close #3084
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index 67207fb4..3dd63579 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -1587,6 +1587,11 @@ class TestGoFZF < TestBase
tmux.until { |lines| assert_equal '> 1', lines[-2] }
end
+ def test_info_inline_separator
+ tmux.send_keys 'seq 10 | fzf --info=inline:___ --no-separator', :Enter
+ tmux.until { |lines| assert_equal '> ___10/10', lines[-1] }
+ end
+
def test_change_first_last
tmux.send_keys %(seq 1000 | #{FZF} --bind change:first,alt-Z:last), :Enter
tmux.until { |lines| assert_equal 1000, lines.match_count }