Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant
expect_no_offenses
keyword arguments
This PR removes the following redundant `expect_no_offenses` keyword arguments: ```console $ bundle exec rubocop (snip) Offenses: spec/rubocop/cop/performance/redundant_equality_comparison_block_spec.rb:52:35: C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments. expect_no_offenses(<<~RUBY, method_name: method_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^ spec/rubocop/cop/performance/sum_spec.rb:329:33: C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments. expect_no_offenses(<<~RUBY, method: method) ^^^^^^^^^^^^^^^^ spec/rubocop/cop/performance/sum_spec.rb:348:35: C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments. expect_no_offenses(<<~RUBY, method: method) ^^^^^^^^^^^^^^^^ spec/rubocop/cop/performance/times_map_spec.rb:52:37: C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments. expect_no_offenses(<<~RUBY, method: method) ^^^^^^^^^^^^^^^^ spec/rubocop/cop/performance/times_map_spec.rb:60:37: C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments. expect_no_offenses(<<~RUBY, method: method) ^^^^^^^^^^^^^^^^ spec/rubocop/cop/performance/times_map_spec.rb:68:37: C: [Correctable] InternalAffairs/RedundantExpectOffenseArguments: Remove the redundant arguments. expect_no_offenses(<<~RUBY, method: method) ^^^^^^^^^^^^^^^^ 118 files inspected, 6 offenses detected, 6 offenses autocorrectable ```
- Loading branch information