Skip to content

Commit

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

entries = []
list.each { |r| entries << r }
entries = list.map { |r| r }

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

0 comments on commit c0a8421

Please sign in to comment.