Skip to content

Commit 44775da

Browse files
authored
Merge pull request #1629 from ydah/ydah/refactor
Remove unnecessary `$` for `RSpec/ChangeByZero`
2 parents 5a32e18 + 2b53fc4 commit 44775da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/cop/rspec/change_by_zero.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ChangeByZero < Base
7777
(block
7878
(send nil? :change)
7979
(args)
80-
(send (...) $_)) :by
80+
(send (...) _)) :by
8181
(int 0))
8282
PATTERN
8383

0 commit comments

Comments
 (0)