mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-16 02:07:06 +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 '_completion_loader() { complete -o default fake; }'
|
||||||
tmux.paste 'complete -F _fzf_path_completion -o default -o bashdefault fake'
|
tmux.paste 'complete -F _fzf_path_completion -o default -o bashdefault fake'
|
||||||
tmux.send_keys 'fake /tmp/foo**', :Tab
|
tmux.send_keys 'fake /tmp/foo**', :Tab
|
||||||
tmux.until do |lines|
|
tmux.until { |lines| lines.item_count.positive? }
|
||||||
lines.item_count.positive? && lines.item_count == lines.match_count
|
|
||||||
end
|
|
||||||
tmux.send_keys 'C-c'
|
tmux.send_keys 'C-c'
|
||||||
|
|
||||||
tmux.prepare
|
tmux.prepare
|
||||||
@ -1778,9 +1776,7 @@ class TestBash < TestBase
|
|||||||
|
|
||||||
tmux.prepare
|
tmux.prepare
|
||||||
tmux.send_keys 'fake /tmp/foo**', :Tab
|
tmux.send_keys 'fake /tmp/foo**', :Tab
|
||||||
tmux.until do |lines|
|
tmux.until { |lines| lines.item_count.positive? }
|
||||||
lines.item_count.positive? && lines.item_count == lines.match_count
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user