foreach ($args{Name}, $args{Require}, $args{Extra}) {
chomp $_ if defined $_;
}
+ $args{Get} ||= '';
+
my @extra_args = !defined $args{Extra} ? () : split /,/, $args{Extra};
my ($output, $body);
if ($args{File}) {
}
# test n+1
- cmp_ok ($output, 'eq', $args{Get}, "Output from autosplit()ing $args{Name}");
+ is($output, $args{Get}, "Output from autosplit()ing $args{Name}");
if ($args{Files}) {
$args{Files} =~ s!/!:!gs if $^O eq 'MacOS';
is( $p_p1->cmd_name(), 'head2', 'Pod::Paragraph->cmd_name()' );
is( $p_p1->cmd_name( 'head1' ), 'head1',
'Pod::Paragraph->cmd_name( head1 )' );
- cmp_ok( $p_p2->cmd_name(), 'eq', '',
+ ok( !$p_p2->cmd_name(),
'Pod::Paragraph->cmd_name() revisited' );
is( $p_p1->text(), 'NAME', 'Pod::Paragraph->text()' );