diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-05-11 01:25:17 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-05-11 01:25:17 +0900 |
commit | 73cb70dbb34d71ef88d9e161e6f8a6eed81eefaa (patch) | |
tree | 4f7d4c66d165070b3157b42ede703580da461aa3 /test | |
parent | d082cccb6d86081afddad6afbafa505f10936480 (diff) |
Fix flaky test case: test_file_completion_unicode
Diffstat (limited to 'test')
-rw-r--r-- | 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 c09c86fd..19759fea 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -1444,7 +1444,7 @@ module CompletionTest tmux.send_keys :BTab, :BTab, pane: 1 tmux.until(1) { |lines| lines[-2].include? '(2)' } tmux.send_keys :Enter, pane: 1 - tmux.until { |lines| lines[-1].include? 'cat' } + tmux.until { |lines| lines[-1].include?('cat') || lines[-2].include?('cat') } tmux.send_keys :Enter tmux.until { |lines| lines[-1].include? 'test3test4' } end |