Skip to content
Myr

Fix flaky test case: test_ctrl_t_unicode

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

The width of the pseudo-terminal on Travis CI environment can be small and cause the line to be wrapped.

authored by Junegunn Choi · committed by Junegunn Choi · parent 88a80e3 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/test_go.rb+1 added-1 removed
1227 unmodified lines
1228 tmux.until(1) { |lines| lines[-2].start_with? ' 2/' }1229 tmux.send_keys :BTab, :BTab, pane: 11230 tmux.until(1) { |lines| lines[-2].include? '(2)' }1231 tmux.send_keys :Enter, pane: 11232 tmux.until { |lines| lines[-1].include? 'cat' }1232 tmux.until { |lines| lines[-1].include?('cat') || lines[-2].include?('cat') }1233 tmux.send_keys :Enter1234 tmux.until { |lines| lines[-1].include? 'test1test2' }1235 end1236
268 unmodified lines