summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index 105e8ef0..66e1c429 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -2133,7 +2133,11 @@ class TestGoFZF < TestBase
end
def test_keep_right
- tmux.send_keys "seq 10000 | #{FZF} --read0 --keep-right --no-multi-line", :Enter
+ tmux.send_keys "seq 10000 | #{FZF} --read0 --keep-right --no-multi-line --bind space:toggle-multi-line", :Enter
+ tmux.until { |lines| assert lines.any_include?('9999␊10000') }
+ tmux.send_keys :Space
+ tmux.until { |lines| assert lines.any_include?('> 1') }
+ tmux.send_keys :Space
tmux.until { |lines| assert lines.any_include?('9999␊10000') }
end