The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
|
my $formatter = TAP::Formatter::HTML->new;
my $abs_path = abs_path( './t/data/01_test_archive.tar.gz' );
my $html = convert_from_taparchive(
archive => $abs_path ,
formatter => $formatter ,
);
if ( $html =~ /<li class= "pln" >1..2   ;<\/li>\n<li id= "t0" class= "tst k" >ok 1 - use Convert::TAP::Archive;   ;<\/li>\n<li id= "t1" class= "tst k" >ok 2 - Convert::TAP::Archive- > ;can\( 'convert_from_taparchive' \)   ;<\/li>/ ) { pass ( 'match html output' );
}
else {
fail ( 'match html output' );
}
|