summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-23 09:43:12 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-23 09:43:12 +0900
commitfb885652cc1f05efee581ed4d2f78f4f48af3fc3 (patch)
treeea477d8a615feacac88875c6243865cafdda790c
parentafc2f05e5e40fb44380e555a3db89ec19ecb424f (diff)
downloadfzf-fb885652cc1f05efee581ed4d2f78f4f48af3fc3.tar.gz
Fix RuboCop errors
-rwxr-xr-xtest/test_go.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index 3331d3c8..701bddc8 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -3010,9 +3010,9 @@ class TestGoFZF < TestBase
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.until { |lines| tmux.until { assert_match(%r{^ 1 xx}, _1[-2]) } }
+ tmux.until { assert_match(/^ 1 xx/, _1[-2]) }
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
def test_prev_next_selected