m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Revert "An '--expect' key should execute actions bound to the key"

To be backward compatible.

Close #3829
This commit is contained in:
Junegunn Choi
2024-06-01 13:20:12 +09:00
parent dbe8dc344e
commit 41bcbe342f
3 changed files with 17 additions and 13 deletions

View File

@@ -594,7 +594,7 @@ class TestGoFZF < TestBase
tmux.send_keys "seq 1 100 | #{fzf('--query 1 --print-query --expect z --bind z:up+up')}", :Enter
tmux.until { |lines| assert_equal 20, lines.match_count }
tmux.send_keys('z')
assert_equal %w[1 z 11], fzf_output_lines
assert_equal %w[1 z 1], fzf_output_lines
end
def test_expect_print_query