Skip to content

Commit 80c9dbc

Browse files
committed
add xt/
1 parent 7cb807f commit 80c9dbc

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

MANIFEST.SKIP

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ MANIFEST\.SKIP
1111
pm_to_blib
1212
^blib
1313
^\.git
14+
^xt/

xt/00-check-changelog.t

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
use Test::More tests => 1;
2+
3+
use strict;
4+
use warnings;
5+
6+
use CPAN::Changes;
7+
use Data::Dumper;
8+
9+
my $changes = CPAN::Changes->load('Changes');
10+
11+
ok($changes);
12+
13+
my @releases = map { +{ $_->version => $_->date } } $changes->releases;
14+
15+
note Dumper \@releases;
16+
17+
done_testing;

xt/manifest.t

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
use strict;
2+
use warnings;
3+
use Test::More;
4+
use ExtUtils::Manifest;
5+
6+
unless ( $ENV{RELEASE_TESTING} ) {
7+
plan( skip_all => "Author tests not required for installation" );
8+
}
9+
plan tests => 2;
10+
11+
is_deeply [ ExtUtils::Manifest::manicheck() ], [], 'missing';
12+
is_deeply [ ExtUtils::Manifest::filecheck() ], [], 'extra';

0 commit comments

Comments
 (0)