From b877c385f01bf04e7c6449d799880ce9d6191d44 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 3 Dec 2017 23:54:58 +0900 Subject: [PATCH] Fix assertions in test_dynamic_completion_loader --- test/test_go.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/test_go.rb b/test/test_go.rb index 4612584..859857c 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -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