Skip to content

Commit

Permalink
More Text::DescribeMe
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 11, 2024
1 parent ccde516 commit 40190c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
13 changes: 5 additions & 8 deletions t/noplan.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
use strict;
use warnings;

use Test::DescribeMe qw(author);
use Test::Most;

if($ENV{'AUTHOR_TESTING'}) {
eval 'use Test::NoPlan qw / all_plans_ok /';
eval 'use Test::NoPlan qw / all_plans_ok /';

if($@) {
plan(skip_all => 'Test::NoPlan required for test verification');
} else {
all_plans_ok();
}
if($@) {
plan(skip_all => 'Test::NoPlan required for test verification');
} else {
plan(skip_all => 'Author tests not required for installation');
all_plans_ok();
}
10 changes: 4 additions & 6 deletions t/pod-synopsis.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

use strict;
use warnings;

use Test::DescribeMe qw(author);
use Test::Most;
use Test::Needs 'Test::Synopsis';

if($ENV{AUTHOR_TESTING}) {
Test::Synopsis->import();
all_synopsis_ok();
} else {
plan(skip_all => 'Author tests not required for installation');
}
Test::Synopsis->import();
all_synopsis_ok();

0 comments on commit 40190c6

Please sign in to comment.