summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-11-15 00:39:29 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-11-15 00:39:29 +0900
commitd2fa4701651a1228ab7aea67eb195fc446f4a2a0 (patch)
treee66ef0e1244512ad16e67959c60acc1c7c5be280 /test
parent168453da71af199a76279b9d4017ad1f72ba1f26 (diff)
Add --info=STYLE [default|inline|hidden]
Close #1738
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 210f8fec..501641e2 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -1516,6 +1516,11 @@ class TestGoFZF < TestBase
tmux.until { |lines| lines[-1] == prompt }
end
+ def test_info_hidden
+ tmux.send_keys 'seq 10 | fzf --info=hidden', :Enter
+ tmux.until { |lines| lines[-2] == '> 1' }
+ end
+
def test_change_top
tmux.send_keys %(seq 1000 | #{FZF} --bind change:top), :Enter
tmux.until { |lines| lines.match_count == 1000 }