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