Skip to content

Commit

Permalink
Fix rubocop false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Apr 11, 2024
1 parent c0a8421 commit a5e32cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/list_test.rb
Expand Up @@ -46,7 +46,8 @@ def test_each_with_block
beta
LIST

entries = list.map { |r| r }
entries = []
list.each { |r| entries << r } # rubocop:disable Style/MapIntoArray

assert_equal 2, entries.count
assert_equal PublicSuffix::Rule.factory("alpha"), entries.first
Expand Down

0 comments on commit a5e32cc

Please sign in to comment.