From 96a3250152749641edce8e91385ecf29dc2789a4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 24 May 2017 13:20:13 +0900 Subject: [PATCH] Update test case for --cycle --- test/test_go.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_go.rb b/test/test_go.rb index 1106bab..85b8f37 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -975,15 +975,15 @@ class TestGoFZF < TestBase tmux.until { |lines| lines[-10].start_with? '>' } tmux.send_keys :Down tmux.until { |lines| lines[-9].start_with? '>' } - tmux.send_keys :PgUp + tmux.send_keys :Up tmux.until { |lines| lines[-10].start_with? '>' } tmux.send_keys :PgUp - tmux.until { |lines| lines[-3].start_with? '>' } + tmux.until { |lines| lines[-10].start_with? '>' } tmux.send_keys :Up - tmux.until { |lines| lines[-4].start_with? '>' } - tmux.send_keys :PgDn tmux.until { |lines| lines[-3].start_with? '>' } tmux.send_keys :PgDn + tmux.until { |lines| lines[-3].start_with? '>' } + tmux.send_keys :Down tmux.until { |lines| lines[-10].start_with? '>' } end