Skip to content

Commit

Permalink
Add basedir to perltidy test
Browse files Browse the repository at this point in the history
Excludes tmp and backup dirs, and test files.
  • Loading branch information
renderorange committed Jul 19, 2024
1 parent 27ec14b commit 42b0bf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/996_perl-tidy.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if ($@) {
}

Test::PerlTidy::run_tests(
path => "$FindBin::RealBin/../lib",
path => "$FindBin::RealBin/..",
perltidyrc => "$FindBin::RealBin/../.perltidyrc",
exclude => [ qr{\.t$}, "$FindBin::RealBin/../tmp", "$FindBin::RealBin/../backup" ],
);

0 comments on commit 42b0bf7

Please sign in to comment.