[libcode-tidyall-perl] 42/374: no depend on perltidy etc
Jonas Smedegaard
js at alioth.debian.org
Sun Sep 29 22:25:45 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libcode-tidyall-perl.
commit d7bb6936e3a1b0de22ad0a5daf3815c2044ae62f
Author: Jonathan Swartz <swartz at pobox.com>
Date: Sun Jun 17 07:07:04 2012 -0700
no depend on perltidy etc
---
lib/Code/TidyAll/t/Basic.pm | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/lib/Code/TidyAll/t/Basic.pm b/lib/Code/TidyAll/t/Basic.pm
index 50ce2a8..799f813 100644
--- a/lib/Code/TidyAll/t/Basic.pm
+++ b/lib/Code/TidyAll/t/Basic.pm
@@ -206,9 +206,8 @@ sub test_conf_file : Tests {
root_dir => dirname($conf_file),
data_dir => "$root_dir/.tidyall.d",
plugins => {
- PerlTidy => { argv => '-noll -it=2', select => '**/*.{pl,pm,t}' },
- PodTidy => { select => '**/*.{pl,pm,t}' },
- PerlCritic => { argv => '-severity 3', select => '**/*.pm' },
+ '+Code::TidyAll::Test::Plugin::UpperText' => { select => '**/*.txt' },
+ '+Code::TidyAll::Test::Plugin::RepeatFoo' => { select => '**/foo*', times => 3 }
}
);
while ( my ( $method, $value ) = each(%expected) ) {
@@ -249,16 +248,12 @@ $conf1 = '
backup_ttl = 5m
no_cache = 1
-[PerlTidy]
-argv = -noll -it=2
-select = **/*.{pl,pm,t}
-
-[PodTidy]
-select = **/*.{pl,pm,t}
+[+Code::TidyAll::Test::Plugin::UpperText]
+select = **/*.txt
-[PerlCritic]
-argv = -severity 3
-select = **/*.pm
+[+Code::TidyAll::Test::Plugin::RepeatFoo]
+select = **/foo*
+times = 3
';
$conf2 = '
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git
More information about the Pkg-perl-cvs-commits
mailing list