Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit sppresses the following RuboCop offenses: ```console Offenses: test/rubocop/cop/minitest/global_expectations_test.rb:167:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :_ || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:190:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :value || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:213:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :expect || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:328:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :_ || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:351:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :_ || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:374:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :value || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:397:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :expect || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:420:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :value || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/rubocop/cop/minitest/global_expectations_test.rb:443:10: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. if style == :expect || style == :any ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 137 files inspected, 9 offenses detected, 9 offenses autocorrectable ```
- Loading branch information