Fix generate-mouse-tiny.pl
[gitmo/Mouse.git] / author / munge-tests-for-moose.pl
1 #!/usr/bin/env perl -pl
2 use strict;
3 use warnings;
4
5 BEGIN {
6     @ARGV = glob('t/*.t t/*/*.t') if !@ARGV;
7     $^I = '';
8 }
9
10 next if $ARGV =~ /squirrel/i; # Squirrel tests are for both Moose and Mouse
11
12 s/Mouse(?!::Tiny)/Moose/g;
13
14 s/Moose::(load_class|is_class_loaded)/Class::MOP::$1/g;
15