AI-Pathfinding-OptimizeMultiple
view release on metacpan or search on metacpan
t/style-trailing-space.t view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
use Test::More;
eval "use Test::TrailingSpace";
if ($@)
{
plan skip_all => "Test::TrailingSpace required for trailing space test.";
}
else
{
plan tests => 1;
}
my $finder = Test::TrailingSpace->new(
{
root => '.',
filename_regex =>
qr/(?:(?:\.(?:t|pm|pl|PL|yml|json|arc|vim))|README|Changes|LICENSE)\z/,
},
);
# TEST
$finder->no_trailing_space("No trailing space was found.");
( run in 0.561 second using v1.01-cache-2.11-cpan-98e64b0badf )