summaryrefslogtreecommitdiff
path: root/test/test_core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_core.rb')
-rw-r--r--test/test_core.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_core.rb b/test/test_core.rb
index ec0a1da8..c8b73f23 100644
--- a/test/test_core.rb
+++ b/test/test_core.rb
@@ -1920,4 +1920,11 @@ class TestCore < TestInteractive
tmux.send_keys :Up
tmux.until { |lines| assert_includes lines, ' 2' }
end
+
+ 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.send_keys :Space
+ tmux.until { |lines| assert lines.any_include?('bar') }
+ end
end