diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-05-09 20:42:13 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-05-09 20:42:13 +0900 |
commit | f4a595eeddd0a95d1b9cca83c90391ff7de30250 (patch) | |
tree | 9b0e17c5a5cf45a86118053aac4f2475f0309bc6 | |
parent | 5a17a6323a208174896f0850ed545d297f0a23f8 (diff) |
Fix Travis CI build
-rw-r--r-- | test/test_go.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index d252c00a..ff4eb1de 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -77,8 +77,10 @@ class Tmux end def close - send_keys 'C-c', 'C-u', 'exit', :Enter - wait { closed? } + wait do + send_keys 'C-c', 'C-u', 'exit', :Enter + closed? + end end def kill |