Sha256: 5be4d453d63d7e7b5eb2ec747ddba43f34784dc3fcece6435efca08cabb139bf
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
use Test; # -*- mode: perl6 -*- use Pod::To::HTML; plan 3; # XXX Need a module to walk HTML trees =begin foo =end foo my $r = node2html $=pod[0]; ok $r ~~ ms/'<section>' '<h1>' foo '</h1>' '</section>' /; =begin foo some text =end foo $r = node2html $=pod[1]; ok $r ~~ ms/'<section>' '<h1>' foo '</h1>' '<p>' some text '</p>' '</section>'/; =head1 Talking about PerlĀ 6 if $*PERL.compiler.name eq 'rakudo' and $*PERL.compiler.version before v2018.06 { skip "Your rakudo is too old for this test. Need 2018.06 or newer"; } else { $r = node2html $=pod[2]; nok $r ~~ m:s/Perl 6/, "no-break space is not converted to other space"; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github-markup-3.0.2 | vendor/Pod-To-HTML/t/010-basic.t |