Skip to content

Commit

Permalink
Ignore rubocop cop
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Sep 2, 2020
1 parent c61d25e commit e3eedfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/acceptance_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def test_ignore_case
["subdomain.blogspot.com", false, "subdomain.blogspot.com"],
].freeze

# rubocop:disable Style/CombinableLoops
def test_ignore_private
# test domain and parse
INCLUDE_PRIVATE_CASES.each do |given, ignore_private, expected|
Expand All @@ -110,6 +111,7 @@ def test_ignore_private
assert_equal !expected.nil?, PublicSuffix.valid?(given, ignore_private: ignore_private)
end
end
# rubocop:enable Style/CombinableLoops


def valid_uri?(name)
Expand Down

0 comments on commit e3eedfd

Please sign in to comment.