Skip to content

Commit

Permalink
add xt/
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 3, 2025
1 parent 7cb807f commit 80c9dbc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ MANIFEST\.SKIP
pm_to_blib
^blib
^\.git
^xt/
17 changes: 17 additions & 0 deletions xt/00-check-changelog.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
use Test::More tests => 1;

use strict;
use warnings;

use CPAN::Changes;
use Data::Dumper;

my $changes = CPAN::Changes->load('Changes');

ok($changes);

my @releases = map { +{ $_->version => $_->date } } $changes->releases;

note Dumper \@releases;

done_testing;
12 changes: 12 additions & 0 deletions xt/manifest.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use strict;
use warnings;
use Test::More;
use ExtUtils::Manifest;

unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
plan tests => 2;

is_deeply [ ExtUtils::Manifest::manicheck() ], [], 'missing';
is_deeply [ ExtUtils::Manifest::filecheck() ], [], 'extra';

0 comments on commit 80c9dbc

Please sign in to comment.