Fix bad prereqs and make sure we explicitly ask for module versions we need
[gitmo/MooseX-Params-Validate.git] / t / 006_not_moose.t
index 46f64d9..6d91e66 100644 (file)
@@ -3,8 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 2;
-use Test::Exception;
+use Test::More;
 
 eval <<'EOF';
 {
@@ -17,4 +16,9 @@ is(
     $@, '',
     'loading MX::Params::Validate in a non-Moose class does not blow up'
 );
-ok( Foo->can('validated_hash'), 'validated_hash() sub was added to Foo package' );
+ok(
+    Foo->can('validated_hash'),
+    'validated_hash() sub was added to Foo package'
+);
+
+done_testing();