m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Fix assertions in test_dynamic_completion_loader

This commit is contained in:
Junegunn Choi
2017-12-03 23:54:58 +09:00
parent 9c47739c0e
commit b877c385f0

View File

@@ -1767,9 +1767,7 @@ class TestBash < TestBase
tmux.paste '_completion_loader() { complete -o default fake; }'
tmux.paste 'complete -F _fzf_path_completion -o default -o bashdefault fake'
tmux.send_keys 'fake /tmp/foo**', :Tab
tmux.until do |lines|
lines.item_count.positive? && lines.item_count == lines.match_count
end
tmux.until { |lines| lines.item_count.positive? }
tmux.send_keys 'C-c'
tmux.prepare
@@ -1778,9 +1776,7 @@ class TestBash < TestBase
tmux.prepare
tmux.send_keys 'fake /tmp/foo**', :Tab
tmux.until do |lines|
lines.item_count.positive? && lines.item_count == lines.match_count
end
tmux.until { |lines| lines.item_count.positive? }
end
end