mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 04:45:14 +00:00
Fix assertions in test_dynamic_completion_loader
This commit is contained in:
parent
9c47739c0e
commit
b877c385f0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user