Fix Travis CI build

The size of pseudo-terminal in Travis CI environment can be small
This commit is contained in:
Junegunn Choi 2015-12-20 01:41:18 +09:00
parent b5850ebd4c
commit a1b60b1d42

View File

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