mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Fix regression where header is not updated
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user