m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Fix flaky test case: test_file_completion_unicode

This commit is contained in:
Junegunn Choi
2016-05-11 01:25:17 +09:00
parent d082cccb6d
commit 73cb70dbb3

View File

@@ -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