summaryrefslogtreecommitdiff
path: root/test/test_core.rb
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-27 01:46:21 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-27 01:46:21 +0900
commit80da0776f85612d527e380226734f9372e7a0719 (patch)
tree8e7b4c2dc223e4312148ba39ba903f942a91012e /test/test_core.rb
parente91f10ab167f10328816fab65fc38370059986f3 (diff)
downloadfzf-80da0776f85612d527e380226734f9372e7a0719.tar.gz
Allow actions to multiple keys and events at once
Close #4206
Diffstat (limited to 'test/test_core.rb')
-rw-r--r--test/test_core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_core.rb b/test/test_core.rb
index 0d80644b..75cf3d77 100644
--- a/test/test_core.rb
+++ b/test/test_core.rb
@@ -418,9 +418,9 @@ class TestCore < TestInteractive
end
def test_bind
- tmux.send_keys "seq 1 1000 | #{fzf('-m --bind=ctrl-j:accept,u:up,T:toggle-up,t:toggle')}", :Enter
+ tmux.send_keys "seq 1 1000 | #{fzf('-m --bind=ctrl-j:accept,u,U:up,X,Y,Z:toggle-up,t:toggle')}", :Enter
tmux.until { |lines| assert_equal ' 1000/1000 (0)', lines[-2] }
- tmux.send_keys 'uuu', 'TTT', 'tt', 'uu', 'ttt', 'C-j'
+ tmux.send_keys 'uUu', 'XYZ', 'tt', 'uu', 'ttt', 'C-j'
assert_equal %w[4 5 6 9], fzf_output_lines
end