mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
Fix Travis CI build
This commit is contained in:
parent
6ad1736832
commit
8973207bb4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user