The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl -T

use strict;
use warnings;

use Test::More tests => 1;

use Test::PerlTidy;

my @wanted_files = sort qw(
  Makefile.PL
  t/critic.t
  t/exclude_files.t
  t/exclude_perltidy.t
  t/is_file_tidy.t
  t/list_files.t
  t/perltidy.t
  t/pod-coverage.t
  t/pod.t
  t/strict.t
);

my @found_files = Test::PerlTidy::list_files(
    path    => '.',
    exclude => [ 'blib', 'lib' ],
    debug   => 0,
);

is_deeply( \@wanted_files, \@found_files );