Skip to content

Commit

Permalink
More use of DescribeMe
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 25, 2024
1 parent 9da39bf commit 006309d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 26 deletions.
14 changes: 4 additions & 10 deletions t/gv.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@
use strict;
use warnings;

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

if($ENV{AUTHOR_TESTING}) {
eval 'use Test::GreaterVersion';
Test::GreaterVersion::has_greater_version_than_cpan('Geo::Coder::List');

plan(skip_all => 'Test::GreaterVersion required for checking versions') if $@;

Test::GreaterVersion::has_greater_version_than_cpan('Geo::Coder::List');

done_testing();
} else {
plan(skip_all => 'Author tests not required for installation');
}
done_testing();
16 changes: 0 additions & 16 deletions t/links.t

This file was deleted.

11 changes: 11 additions & 0 deletions t/pod-links.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!perl -w

use strict;
use warnings;

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

Test::Pod::LinkCheck->import();
Test::Pod::LinkCheck->new->all_pod_ok();

0 comments on commit 006309d

Please sign in to comment.