Fix Rubocop error

This commit is contained in:
Junegunn Choi 2023-04-01 17:29:13 +09:00
parent 8ec917b1c3
commit 211512ae64
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -2708,12 +2708,12 @@ class TestGoFZF < TestBase
tmux.send_keys '1'
tmux.until do |lines|
assert_equal 2, lines.match_count
refute lines.any? { _1.include?('only match') }
refute(lines.any? { _1.include?('only match') })
end
tmux.send_keys '0'
tmux.until do |lines|
assert_equal 1, lines.match_count
assert lines.any? { _1.include?('only match') }
assert(lines.any? { _1.include?('only match') })
end
end
end