diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-24 17:40:08 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-24 17:55:06 +0900 |
commit | 618d3178033d80fbe13b70e6387c3f0673a1bf7a (patch) | |
tree | 59e897a77b899bfea86f0ff3b7d7acc2788e4353 /test | |
parent | ae897c8cdbbaa8f371c6e2fcb976a594a562e1bf (diff) |
Support custom separator of inline info
Close #2030
Close #3084
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_go.rb | 5 |
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 } |