Skip to content

Commit 1ca39bf

Browse files
committed
Do not output debug stuff during test run
1 parent 74fa0ea commit 1ca39bf

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

t/02-code.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ my %*POD2HTML-CALLBACKS = code => sub (:$node, :&default) {
4545
ok $node.contents ~~ /:i code/, 'Callback called';
4646
}
4747

48-
say $=pod[0].perl;
48+
# say $=pod[0].perl;
4949
pod2html $=pod[0];

t/06-table.t

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use Test;
22
use Pod::To::HTML;
33

4-
plan 3;
4+
plan 4;
55

66
my $r;
77

@@ -78,3 +78,31 @@ ok $r ~~ ms[[
7878
'</tbody>'
7979
'</table>'
8080
]];
81+
82+
=begin table :caption<Test Caption>
83+
84+
H1 H2
85+
-- --
86+
col1 col2
87+
88+
=end table
89+
90+
$r = pod2html $=pod[3];
91+
# say $r;
92+
ok $r ~~ ms[[
93+
'<table class="pod-table">'
94+
'<caption>' 'Test Caption' '</caption>'
95+
'<thead>'
96+
'<tr>'
97+
'<th>' H1 '</th>'
98+
'<th>' H2 '</th>'
99+
'</tr>'
100+
'</thead>'
101+
'<tbody>'
102+
'<tr>'
103+
'<td>' col1 '</td>'
104+
'<td>' col2 '</td>'
105+
'</tr>'
106+
'</tbody>'
107+
'</table>'
108+
]];

0 commit comments

Comments
 (0)