Fix Travis CI build

The size of pseudo-terminal in Travis CI environment can be small
pull/455/head
Junegunn Choi 9 years ago
parent b5850ebd4c
commit a1b60b1d42

@ -881,7 +881,7 @@ class TestGoFZF < TestBase
}.each do |ts, exp|
tmux.prepare
tmux.send_keys %[cat #{tempname} | fzf --tabstop=#{ts}], :Enter
tmux.until { |lines| lines[-3] == exp }
tmux.until { |lines| exp.start_with? lines[-3].to_s.strip.sub(/\.\.$/, '') }
tmux.send_keys :Enter
end
end

Loading…
Cancel
Save