Skip to content

Commit

Permalink
correct test, add test for a number in parens
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrowder committed Dec 11, 2017
1 parent 0580a62 commit fb9e904
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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 36;
plan 37;

=begin table
The Shoveller Eddie Stevens King Arthur's singing shovel
Expand Down Expand Up @@ -123,6 +123,7 @@ is $r.contents[2].join(','), ',,X';
# pairs so any tests for other config keys in a single table are usually the same as testing
# multiple tables, each for one caption test.
=begin table :caption<foo> :bar(0)
= :baz(2.3)
foo
bar
Expand All @@ -132,4 +133,5 @@ bar
$r = $=pod[$p++];
is $r.contents.elems, 2;
is $r.caption, "foo";
is $r.caption<bar>, "0";
is $r.config<bar>, "0";
is $r.config<baz>, "2.3";

0 comments on commit fb9e904

Please sign in to comment.