Sha256: df63ffc92cecd6f95438415be8b4f41825f7407f2122d466b46c1ce43e68b33d
Contents?: true
Size: 638 Bytes
Versions: 6
Compression:
Stored size: 638 Bytes
Contents
require 'test_helper' class ErrorsTest < Test::Unit::TestCase # Inherits from StandardError def test_error_inheritance assert_kind_of StandardError, PublicSuffixService::Error.new end # Inherits from PublicSuffixService::Error def test_domain_invalid_inheritance assert_kind_of PublicSuffixService::Error, PublicSuffixService::DomainInvalid.new end # Inherits from PublicSuffixService::DomainInvalid def test_domain_not_allowed_inheritance assert_kind_of PublicSuffixService::DomainInvalid, PublicSuffixService::DomainNotAllowed.new end end
Version data entries
6 entries across 6 versions & 1 rubygems