summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-27 15:22:39 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-27 15:22:39 +0900
commit2f8a72a42a7503276a99cc0234f98f8c56169320 (patch)
tree182f1c77810f1526dd3cee1358e16917a1b33f1b /test
parent8179ca5eaa9241c71573a4f65ab34d21b8e3efb0 (diff)
downloadfzf-2f8a72a42a7503276a99cc0234f98f8c56169320.tar.gz
More match_count fixes
Diffstat (limited to 'test')
-rw-r--r--test/test_shell_integration.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_shell_integration.rb b/test/test_shell_integration.rb
index c3966479..de457178 100644
--- a/test/test_shell_integration.rb
+++ b/test/test_shell_integration.rb
@@ -32,7 +32,7 @@ module TestShell
tmux.prepare
tmux.send_keys 'C-t'
- tmux.until { |lines| assert_equal 100, lines.item_count }
+ tmux.until { |lines| assert_equal 100, lines.match_count }
tmux.send_keys :Tab, :Tab, :Tab
tmux.until { |lines| assert lines.any_include?(' (3)') }
tmux.send_keys :Enter
@@ -46,7 +46,7 @@ module TestShell
tmux.prepare
tmux.send_keys 'echo ', 'C-t'
- tmux.until { |lines| assert_equal 2, lines.item_count }
+ tmux.until { |lines| assert_equal 2, lines.match_count }
tmux.send_keys 'fzf-unicode'
tmux.until { |lines| assert_equal 2, lines.match_count }
@@ -88,7 +88,7 @@ module TestShell
tmux.prepare
tmux.send_keys :Escape, :c
- tmux.until { |lines| assert_equal 1, lines.item_count }
+ tmux.until { |lines| assert_equal 1, lines.match_count }
tmux.send_keys :Enter
tmux.prepare