X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=t%2F000-load.t;h=9d7678a21c9d2b9598e8557ec28569bdbbc3393f;hp=b3132e2b47e33c41d3304937908345671ccce0e8;hb=HEAD;hpb=9864f0e4ba233c5f30ad6dc7c484ced43d883d27 diff --git a/t/000-load.t b/t/000-load.t index b3132e2..9d7678a 100644 --- a/t/000-load.t +++ b/t/000-load.t @@ -9,10 +9,13 @@ require_ok 'Mouse::Role'; no warnings 'uninitialized'; -diag "Testing Mouse/$Mouse::VERSION (", exists $INC{'Mouse/PurePerl.pm'} ? 'Pure Perl' : 'XS', ")"; +my $xs = !exists( $INC{'Mouse/PuprePerl.pm'} ); + +diag "Testing Mouse/$Mouse::VERSION (", $xs ? 'XS' : 'Pure Perl', ")"; diag "Soft dependency versions:"; eval { require Moose }; diag " Class::MOP: $Class::MOP::VERSION"; diag " Moose: $Moose::VERSION"; +