summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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