summaryrefslogtreecommitdiffstats
path: root/test/test_go.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_go.rb')
-rwxr-xr-xtest/test_go.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index ecc111db..599d5442 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -2582,6 +2582,7 @@ class TestGoFZF < TestBase
def test_change_preview_window_rotate
tmux.send_keys "seq 100 | #{FZF} --preview-window left,border-none --preview 'echo hello' --bind '" \
"a:change-preview-window(right|down|up|hidden|)'", :Enter
+ tmux.until { |lines| assert(lines.any? { _1.include?('100/100') }) }
3.times do
tmux.until { |lines| lines[0].start_with?('hello') }
tmux.send_keys 'a'