From: Tim Bunce Date: Mon, 9 Mar 2009 21:40:30 +0000 (+0000) Subject: Reduce noise when running tests if Test::Kwalitee isn't installed. X-Git-Tag: 0.04006~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2fc9342b230fc4df3ddbb2ce7a263268451d0575;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Reduce noise when running tests if Test::Kwalitee isn't installed. --- diff --git a/t/04kwalitee.t b/t/04kwalitee.t index 46c5119..d5fecbd 100644 --- a/t/04kwalitee.t +++ b/t/04kwalitee.t @@ -2,6 +2,7 @@ use Test::More; eval { require Test::Kwalitee; die "Not maintainer" unless -f 'MANIFEST.SKIP' }; if($@) { + $@ =~ s/ \(\@INC contains.*//; # reduce the noise plan( skip_all => $@ ); } Test::Kwalitee->import();