Skip to content

Commit

Permalink
add tests for fix for RT #126740
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed Dec 1, 2017
1 parent 26cacb1 commit d9f7b1b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions S26-documentation/07-tables.t
Expand Up @@ -3,7 +3,7 @@ use Test;
my $r;
my $p = 0; # use as an index for the pod chunks

plan 34;
plan 36;

=begin table
The Shoveller Eddie Stevens King Arthur's singing shovel
Expand Down Expand Up @@ -117,7 +117,8 @@ is $r.contents[0].join(','), 'X,O,';
is $r.contents[1].join(','), ',X,O';
is $r.contents[2].join(','), ',,X';

=begin table
# this also tests fix for RT #126740 caption attribute missing
=begin table :caption("FooBar")
foo
bar
Expand All @@ -126,3 +127,5 @@ bar

$r = $=pod[$p++];
is $r.contents.elems, 2;
is $r.caption, "FooBar";
is $r.caption, 'FooBar';

0 comments on commit d9f7b1b

Please sign in to comment.