Commit 97b6017
committed
Suppress RuboCop offenses
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
```1 parent 07d1a8d commit 97b6017
1 file changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
167 | | - | |
| 171 | + | |
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
| |||
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
190 | | - | |
| 194 | + | |
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
| |||
210 | 214 | | |
211 | 215 | | |
212 | 216 | | |
213 | | - | |
| 217 | + | |
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
| |||
325 | 329 | | |
326 | 330 | | |
327 | 331 | | |
328 | | - | |
| 332 | + | |
329 | 333 | | |
330 | 334 | | |
331 | 335 | | |
| |||
348 | 352 | | |
349 | 353 | | |
350 | 354 | | |
351 | | - | |
| 355 | + | |
352 | 356 | | |
353 | 357 | | |
354 | 358 | | |
| |||
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
374 | | - | |
| 378 | + | |
375 | 379 | | |
376 | 380 | | |
377 | 381 | | |
| |||
394 | 398 | | |
395 | 399 | | |
396 | 400 | | |
397 | | - | |
| 401 | + | |
398 | 402 | | |
399 | 403 | | |
400 | 404 | | |
| |||
417 | 421 | | |
418 | 422 | | |
419 | 423 | | |
420 | | - | |
| 424 | + | |
421 | 425 | | |
422 | 426 | | |
423 | 427 | | |
| |||
440 | 444 | | |
441 | 445 | | |
442 | 446 | | |
443 | | - | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
| |||
0 commit comments