Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

incorrect text for test #339

Closed
KES777 opened this Issue · 2 comments

2 participants

@KES777

I get next messages:
ok 1 - use SRS::Zone::RR;
ok 2 - The object isa SRS::Zone::RR::A
ok 3 - SRS::Zone::RR::A isa SRS::Zone::RR

while running test:
$obj = SRS::Zone::RR->new( %a );
isa_ok( $obj, 'SRS::Zone::RR::A' );
new_ok( 'SRS::Zone::RR' => [ %a ], 'SRS::Zone::RR::A' );

as you mention in doc that:
new_ok is basically equivalent to:

my $obj = $class->new(@args);
isa_ok $obj, $class, $object_name;

you must print out same messages.

Expected:
ok 1 - use SRS::Zone::RR;
ok 2 - The object isa SRS::Zone::RR::A
ok 3 - The object isa SRS::Zone::RR::A

@schwern
Owner
@schwern
Owner

Not a bug and no response from the reporter for six months. Closing. Please reopen if you feel there's still an issue here.

@schwern schwern closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.