summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-07-06 20:04:03 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-07-06 20:24:23 +0900
commitd364a1122e23149a6fb2e060fe5f7a0dbb752b20 (patch)
treee83d89f3d90c0c13d6d65038279303e8a696e47d /test
parentfb570e94e79571ede2b467fadab36fb245da0d34 (diff)
downloadfzf-d364a1122e23149a6fb2e060fe5f7a0dbb752b20.tar.gz
Fix regression where header is not updated
Diffstat (limited to 'test')
-rw-r--r--test/test_core.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_core.rb b/test/test_core.rb
index 08d6c05b..cf4cd237 100644
--- a/test/test_core.rb
+++ b/test/test_core.rb
@@ -1930,7 +1930,10 @@ class TestCore < TestInteractive
def test_change_header_on_header_window
tmux.send_keys %(seq 100 | #{FZF} --list-border --input-border --bind 'start:change-header(foo),space:change-header(bar)'), :Enter
- tmux.until { |lines| assert lines.any_include?('foo') }
+ tmux.until do |lines|
+ assert lines.any_include?('100/100')
+ assert lines.any_include?('foo')
+ end
tmux.send_keys :Space
tmux.until { |lines| assert lines.any_include?('bar') }
end