incorrect text for test #339

Closed
KES777 opened this Issue Oct 10, 2012 · 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
Test-More member
@schwern
Test-More member

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 Apr 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment