X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000-load.t;h=9d7678a21c9d2b9598e8557ec28569bdbbc3393f;hb=refs%2Fheads%2Fmaster;hp=b3132e2b47e33c41d3304937908345671ccce0e8;hpb=1038bfa9e8a49b9c9f9ce872c46800f9590da8ed;p=gitmo%2FMouse.git 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"; +