Sha256: 53f95910b7ce4aed2e0bc9b8a0d69ef412cf7798a07ac207dd07f6bf91e34bb7
Contents?: true
Size: 593 Bytes
Versions: 2
Compression:
Stored size: 593 Bytes
Contents
require 'test_helper' class ErrorsTest < Minitest::Unit::TestCase # Inherits from StandardError def test_error_inheritance assert_kind_of StandardError, PublicSuffix::Error.new end # Inherits from PublicSuffix::Error def test_domain_invalid_inheritance assert_kind_of PublicSuffix::Error, PublicSuffix::DomainInvalid.new end # Inherits from PublicSuffix::DomainInvalid def test_domain_not_allowed_inheritance assert_kind_of PublicSuffix::DomainInvalid, PublicSuffix::DomainNotAllowed.new end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
public_suffix-1.5.3 | test/unit/errors_test.rb |
public_suffix-1.5.2 | test/unit/errors_test.rb |