added MX::Types::Moose, cleaned up moar
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / Test.pm
index cd9ed0b..a17ec98 100644 (file)
@@ -4,20 +4,21 @@ use Pod::Usage;
 use FindBin;
 use lib "$FindBin::Bin/../lib";
 with 'MooseX::Getopt';
+use MooseX::Types::Moose qw/Str Bool/;
 use namespace::autoclean;
 
 has _app => (
     reader   => 'app',
     init_arg => 'app',
     traits => [qw(NoGetopt)],
-    isa => 'Str',
+    isa => Str,
     is => 'ro',
 );
 
 has help => (
     traits => [qw(Getopt)],
     cmd_aliases => 'h',
-    isa => 'Bool',
+    isa => Bool,
     is => 'ro',
     documentation => qq{ display this help and exits },
 );
@@ -34,6 +35,6 @@ sub run {
 
 }
 
-no Moose;
+
 __PACKAGE__->meta->make_immutable;
 1;