Skip to content

Commit

Permalink
Merge pull request #1629 from ydah/ydah/refactor
Browse files Browse the repository at this point in the history
Remove unnecessary `$` for `RSpec/ChangeByZero`
  • Loading branch information
pirj authored Apr 24, 2023
2 parents 5a32e18 + 2b53fc4 commit 44775da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/change_by_zero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ChangeByZero < Base
(block
(send nil? :change)
(args)
(send (...) $_)) :by
(send (...) _)) :by
(int 0))
PATTERN

Expand Down

0 comments on commit 44775da

Please # to comment.