Skip to content

Commit

Permalink
A couple of small tweaks revolving around WWW::Mechanize.
Browse files Browse the repository at this point in the history
* Made Makefile.PL a little more robust so it doesn't pick up editor
  backup/swap files e.g .#SyntaxHighlight.pm
* Tweaked the skip message in t/app-mech-rootpage.t.
  • Loading branch information
Dan Brook committed Feb 3, 2010
1 parent 40fff9e commit 1aa5394
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if ($ENV{GITALIST_RELEASE_TESTING}) {
# Fill in provides info so that indexing works right (in the face of MX::Declare)
# by just smashing filenames to package names and not trying to be smart..
File::Find::find(sub {
return unless $File::Find::name =~ /\.pm$/;
return unless /^\w.*?\.pm$/;
my $fn = $File::Find::name;
my $ver = ExtUtils::MM_Unix->parse_version($fn);

Expand Down
2 changes: 1 addition & 1 deletion t/app-mech-rootpage.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use FindBin qw/$Bin/;
use lib "$Bin/lib";
use TestGitalist;
plan 'skip_all' => 'No WWW::Mechanize' unless MECH();
plan 'skip_all' => 'Either Test::WWW::Mechanize::Catalyst or WWW::Mechanize::TreeBuilder not present' unless MECH();

MECH->get_ok('/');
{
Expand Down

0 comments on commit 1aa5394

Please sign in to comment.