summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-04-01 17:29:13 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-04-01 17:29:13 +0900
commit211512ae64f9c2bb7f557f32800e7c6598786581 (patch)
tree43fa2f10aea8309638a9ae1fa88ffb0c685e5946 /test
parent8ec917b1c36ed1cf6ace64419307aa85fda4bee3 (diff)
Fix Rubocop error
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 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