diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-02-28 14:46:08 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-02-28 14:46:08 +0900 |
commit | 2ff7db1b36e4f976e4e24e56e996b9128f131141 (patch) | |
tree | 027f122d21a0ac0dec236dacf48661b5ce6ada97 | |
parent | 9f0626da643070455fb5d6bb11ff1f483a0c100f (diff) |
Use a more robust way to check if the shell is ready
-rwxr-xr-x | test/test_go.rb | 2 |
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 |