The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/env perl
use v5.12.5;
our $VERSION = '9999.99.99_99'; # VERSION
plan skip_all => 'these tests are for testing by the author'
unless $ENV{AUTHOR_TESTING};
plan tests => 2;
subtest 'files in bin', sub {
my @bin_files = glob('bin/*');
plan tests => scalar @bin_files;
for my $file (@bin_files) {
ok( Test::PerlTidy::is_file_tidy($file), "$file is tidy" );
}
};
subtest 'standard files', sub {
run_tests(
exclude => [
'Makefile.PL', '.build/', 'blib/', 'misc/', 'local/',
qr{xt/author/(?!perltidy\.t$)},
qr{xt/release/},
],
);
};