X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=author%2Fmunge-tests-for-moose.pl;h=96ec4daac80eb89f89a1e31a53d994305792c9bc;hb=b7e3d8b3fd28bcf7a947ecf1890a695137430744;hp=4bbfa36ff86c32823fe3c8a5cd54b1f1ca355728;hpb=dc4a7abe0f3a5d40010ac7d47db415f14b3e7a47;p=gitmo%2FMouse.git diff --git a/author/munge-tests-for-moose.pl b/author/munge-tests-for-moose.pl index 4bbfa36..96ec4da 100755 --- a/author/munge-tests-for-moose.pl +++ b/author/munge-tests-for-moose.pl @@ -3,10 +3,13 @@ use strict; use warnings; BEGIN { - @ARGV = glob('t/*.t t/*/*.t'); + @ARGV = glob('t/*.t t/*/*.t') if !@ARGV; $^I = ''; } -s/Mouse/Moose/g; +next if $ARGV =~ /squirrel/i; # Squirrel tests are for both Moose and Mouse + +s/Mouse(?!::Tiny)/Moose/g; + s/Moose::(load_class|is_class_loaded)/Class::MOP::$1/g;