diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-04-01 17:29:13 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-04-01 17:29:13 +0900 |
commit | 211512ae64f9c2bb7f557f32800e7c6598786581 (patch) | |
tree | 43fa2f10aea8309638a9ae1fa88ffb0c685e5946 /test | |
parent | 8ec917b1c36ed1cf6ace64419307aa85fda4bee3 (diff) |
Fix Rubocop error
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_go.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 8d8a9819..7f7d5649 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -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 |