Skip to content
Myr

[test] Fix test failure on Travis CI

Before adoption: this commit came in with the history the project adopted, so no landing records it.

No guarantee in the order in which files are listed

authored by Junegunn Choi · committed by Junegunn Choi · parent 3a4e053 · Browse files · 1 file+26 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+26 added−2 removed

  • tests:+26 added−2 removed

1 file+26 added−2 removed

modified:test/test_go.rb+26 added-2 removed
1321 unmodified lines
1322 tmux.send_keys 'cat ', 'C-t', pane: 01323 tmux.until(1) { |lines| lines.item_count >= 1 }1324 tmux.send_keys 'fzf-unicode', pane: 11325 tmux.until(1) { |lines| lines[-2].start_with? ' 2/' }13261327 tmux.send_keys '1', pane: 11328 tmux.until(1) { |lines| lines[-2].start_with? ' 1/' }1326 tmux.send_keys :BTab, :BTab, pane: 11329 tmux.send_keys :BTab, pane: 11330 tmux.until(1) { |lines| lines[-2].include? '(1)' }13311332 tmux.send_keys :BSpace, pane: 11333 tmux.until(1) { |lines| lines[-2].start_with? ' 2/' }13341335 tmux.send_keys '2', pane: 11336 tmux.until(1) { |lines| lines[-2].start_with? ' 1/' }1337 tmux.send_keys :BTab, pane: 11338 tmux.until(1) { |lines| lines[-2].include? '(2)' }13391340 tmux.send_keys :Enter, pane: 11341 tmux.until { |lines| lines[-1].include?('cat') || lines[-2].include?('cat') }1342 tmux.until { |lines| lines[-1].include?('fzf-unicode') || lines[-2].include?('fzf-unicode') }1343 tmux.send_keys :Enter
206 unmodified lines
1550 tmux.paste 'cd /tmp/fzf-test; echo -n test3 > "fzf-unicode 테스트1"; echo -n test4 > "fzf-unicode 테스트2"'1551 tmux.prepare1552 tmux.send_keys 'cat fzf-unicode**', :Tab, pane: 01553 tmux.until(1) { |lines| lines[-2].start_with? ' 2/' }15541555 tmux.send_keys '1', pane: 11556 tmux.until(1) { |lines| lines[-2].start_with? ' 1/' }1542 tmux.send_keys :BTab, :BTab, pane: 11557 tmux.send_keys :BTab, pane: 11558 tmux.until(1) { |lines| lines[-2].include? '(1)' }15591560 tmux.send_keys :BSpace, pane: 11561 tmux.until(1) { |lines| lines[-2].start_with? ' 2/' }15621563 tmux.send_keys '2', pane: 11564 tmux.until(1) { |lines| lines[-2].start_with? ' 1/' }1565 tmux.send_keys :BTab, pane: 11566 tmux.until(1) { |lines| lines[-2].include? '(2)' }15671568 tmux.send_keys :Enter, pane: 11569 tmux.until { |lines| lines[-1].include?('cat') || lines[-2].include?('cat') }1570 tmux.send_keys :Enter1571 tmux.until { |lines| lines[-1].include? 'test3test4' }
55 unmodified lines