From 2b53fc4dec723029c8bd2c7e3ca9a7cad56f5d48 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Sun, 23 Apr 2023 22:01:36 +0900 Subject: [PATCH] Remove unnecessary `$` for `RSpec/ChangeByZero` This PR is remove unnecessary `$` for `RSpec/ChangeByZero`. --- lib/rubocop/cop/rspec/change_by_zero.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubocop/cop/rspec/change_by_zero.rb b/lib/rubocop/cop/rspec/change_by_zero.rb index 8e38a8c15..bcbff02e3 100644 --- a/lib/rubocop/cop/rspec/change_by_zero.rb +++ b/lib/rubocop/cop/rspec/change_by_zero.rb @@ -77,7 +77,7 @@ class ChangeByZero < Base (block (send nil? :change) (args) - (send (...) $_)) :by + (send (...) _)) :by (int 0)) PATTERN