Skip to content

Commit

Permalink
Make more reliable on older Test::More
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Mar 6, 2017
1 parent c56b1a7 commit edb00ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 1 addition & 3 deletions t/basic.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;

use Test::More;
use Test::More tests => 4;

# ABSTRACT: Basic tests

Expand Down Expand Up @@ -32,5 +32,3 @@ EOF
my $result = PPIx::DocumentName->extract_via_comment( \$sample );
is( $result, undef, "->extract_via_comment() is undef" );
}
done_testing;

4 changes: 1 addition & 3 deletions t/ignore_heredocs.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;

use Test::More;
use Test::More tests => 4;

# ABSTRACT: Make sure heredocs aren't parsed

Expand Down Expand Up @@ -38,5 +38,3 @@ EOF
my $result = PPIx::DocumentName->extract_via_comment( \$sample );
is( $result, undef, "->extract_via_comment() is undef" );
}
done_testing;

5 changes: 1 addition & 4 deletions t/podname.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict;
use warnings;

use Test::More;
use Test::More tests => 4;

# ABSTRACT: Basic tests

Expand Down Expand Up @@ -35,6 +35,3 @@ EOF
my $result = PPIx::DocumentName->extract_via_comment( \$sample );
is( $result, 'Override', "->extract_via_comment() gets PODNAME" );
}

done_testing;

0 comments on commit edb00ab

Please sign in to comment.