Fix Travis CI build

This commit is contained in:
Junegunn Choi 2015-06-14 02:13:02 +09:00
parent 6ad1736832
commit 8973207bb4

View File

@ -580,6 +580,7 @@ class TestGoFZF < TestBase
tmux.until { |lines| lines[-2].include? '1/100' } tmux.until { |lines| lines[-2].include? '1/100' }
tmux.send_keys :Enter tmux.send_keys :Enter
end end
readonce
assert_equal input[1..-1], File.readlines(history_file) assert_equal input[1..-1], File.readlines(history_file)
# Update history entries (not changed on disk) # Update history entries (not changed on disk)
@ -600,6 +601,7 @@ class TestGoFZF < TestBase
tmux.send_keys 0 tmux.send_keys 0
tmux.until { |lines| lines[-1].end_with? '> 310' } tmux.until { |lines| lines[-1].end_with? '> 310' }
tmux.send_keys :Enter tmux.send_keys :Enter
readonce
assert_equal %w[22 33 44 310].map { |e| e + $/ }, File.readlines(history_file) assert_equal %w[22 33 44 310].map { |e| e + $/ }, File.readlines(history_file)
# Respect --bind option # Respect --bind option