Fix RuboCop errors

This commit is contained in:
Junegunn Choi 2025-01-23 09:43:12 +09:00
parent afc2f05e5e
commit fb885652cc
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -3010,9 +3010,9 @@ class TestGoFZF < TestBase
def test_info_command_and_focus def test_info_command_and_focus
tmux.send_keys(%(seq 100 | #{FZF} --separator x --info-command 'echo $FZF_POS' --bind focus:clear-query), :Enter) tmux.send_keys(%(seq 100 | #{FZF} --separator x --info-command 'echo $FZF_POS' --bind focus:clear-query), :Enter)
tmux.until { |lines| tmux.until { assert_match(%r{^ 1 xx}, _1[-2]) } } tmux.until { assert_match(/^ 1 xx/, _1[-2]) }
tmux.send_keys :Up tmux.send_keys :Up
tmux.until { |lines| tmux.until { assert_match(%r{^ 2 xx}, _1[-2]) } } tmux.until { assert_match(/^ 2 xx/, _1[-2]) }
end end
def test_prev_next_selected def test_prev_next_selected