File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use Pod::Convenience;
6
6
plan 10 ;
7
7
8
8
subtest {
9
- plan 4 ;
10
9
eval-dies-ok (' use Pod::Convenience; first-code-block();' , " pod argument required" );
11
10
eval-dies-ok (' use Pod::Convenience; first-code-block("moo");' , " array argument required" );
12
11
@@ -16,8 +15,7 @@ subtest {
16
15
@ code-blocks . push (Pod ::Block::Code. new (contents => [' my $first-block' ]));
17
16
@ code-blocks . push (Pod ::Block::Code. new (contents => [' my @second-block' ]));
18
17
19
- # XXX: why does this return the *second* block??
20
- is (first-code-block(@ code-blocks ), ' my @second-block' , " first code block returned" );
18
+ is (first-code-block(@ code-blocks ), ' my $first-block' , " first code block returned" );
21
19
}, " first-code-block" ;
22
20
23
21
subtest {
You can’t perform that action at this time.
0 commit comments