X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F000-load.t;fp=t%2F000-load.t;h=a78968a09a9d795cd3cee2d8f149e286c98181e1;hb=00136d64cc7c83ea95e623e045d0aa2963e7eb2a;hp=a075550251f13e29727c04eefee15d96a05cef67;hpb=6beb7db6adf43757d8881da1c901532fbb382a48;p=gitmo%2FMouse.git diff --git a/t/000-load.t b/t/000-load.t index a075550..a78968a 100644 --- a/t/000-load.t +++ b/t/000-load.t @@ -5,3 +5,17 @@ use Test::More tests => 1; use_ok 'Mouse'; +diag "Soft dependency versions:"; +for my $module_name (keys %Mouse::Util::loaded) { + my $version; + if ($Mouse::Util::loaded{$module_name}) { + no strict 'refs'; + $version = ${$module_name . '::VERSION'}; + } + else { + $version = "(provided by Mouse::Util)"; + } + + diag " $module_name: $version"; +} +