Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add slightly better :begin code :allow test
  • Loading branch information
Mouq committed Feb 20, 2014
1 parent 2e83594 commit 2ff24c0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion S26-documentation/09-configuration.t
@@ -1,5 +1,5 @@
use Test;
plan 14;
plan 15;
my $r;

=begin pod
Expand Down Expand Up @@ -48,3 +48,12 @@ is $r.config<pubdate>, 2011;
$r = $=pod[4].content[0];
isa_ok $r, Pod::Block::Table;
is $r.config<caption>, 'Table of contents';

=begin pod
=begin code :allow<B>
These words have some B<importance>.
=end code
=end pod

$r = $=pod[5].content[0].content[1];
isa_ok $r, Pod::FormattingCode;

0 comments on commit 2ff24c0

Please sign in to comment.