Permalink
Browse files

Merge branch 'master' of git://github.com/tokuhirom/any-moose

  • Loading branch information...
2 parents 6feac9c + f338785 commit ae3872d85dd2b121acab0a55c59dcbdbca3a8c46 @sartak committed Apr 2, 2010
Showing with 21 additions and 0 deletions.
  1. +21 −0 t/000-version.t
View
@@ -0,0 +1,21 @@
+use strict;
+use Test::More tests => 1;
+use_ok 'Any::Moose';
+
+show_version($_) for qw/
+ Mouse
+ MouseX::Types
+ Moose
+ Class::MOP
+ MooseX::Types
+/;
+
+sub show_version {
+ my $klass = shift;
+ if (eval "require $klass; 1;") {
+ no strict 'refs';
+ diag "$klass: " . ${"${klass}::VERSION"};
+ } else {
+ diag "$klass not found";
+ }
+}

0 comments on commit ae3872d

Please sign in to comment.