X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000-load.t;h=9d7678a21c9d2b9598e8557ec28569bdbbc3393f;hb=274f71681ecca5229088aafc1ebd04c9f0296ab4;hp=720ceeb4e26c69eaadd0e3aa23de21717e52fd77;hpb=94fc8b3951e11b1f438c88fddff5b91d398b79fa;p=gitmo%2FMouse.git diff --git a/t/000-load.t b/t/000-load.t index 720ceeb..9d7678a 100644 --- a/t/000-load.t +++ b/t/000-load.t @@ -9,16 +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 "Soft dependency versions:"; +diag "Testing Mouse/$Mouse::VERSION (", $xs ? 'XS' : 'Pure Perl', ")"; -eval{ require MRO::Compat }; -diag " MRO::Compat: $MRO::Compat::VERSION"; +diag "Soft dependency versions:"; eval { require Moose }; diag " Class::MOP: $Class::MOP::VERSION"; diag " Moose: $Moose::VERSION"; -eval { require Class::Method::Modifiers::Fast }; -diag " Class::Method::Modifiers::Fast: $Class::Method::Modifiers::Fast::VERSION";