summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-02-28 14:46:08 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-02-28 14:46:08 +0900
commit2ff7db1b36e4f976e4e24e56e996b9128f131141 (patch)
tree027f122d21a0ac0dec236dacf48661b5ce6ada97 /test
parent9f0626da643070455fb5d6bb11ff1f483a0c100f (diff)
Use a more robust way to check if the shell is ready
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index a1fd1357..9a24288d 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -175,7 +175,7 @@ class Tmux
tries = 0
begin
self.until do |lines|
- send_keys 'C-u', 'hello'
+ send_keys ' ', 'C-u', 'hello', :Left, :Right
lines[-1].end_with?('hello')
end
rescue StandardError