X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F11_library-definition.t;h=484d5975619c0772c2e3ca1846eed3bc0a00000e;hb=967beb749fc3750e353036ecffe8c08b060dabf4;hp=5aec836da9c347f634c4b08fd0f064ed5a362f80;hpb=16ddefbf6d5e6918471483ebaad42b52fd560cea;p=gitmo%2FMooseX-Types.git diff --git a/t/11_library-definition.t b/t/11_library-definition.t index 5aec836..484d597 100644 --- a/t/11_library-definition.t +++ b/t/11_library-definition.t @@ -13,8 +13,6 @@ my @tests = ( [ 'IntArrayRef', 12, [12], {}, [17, 23], {} ], ); -plan tests => (@tests * 8) + 5; - # new array ref so we can safely shift from it for my $data (map { [@$_] } @tests) { my $type = shift @$data; @@ -52,3 +50,5 @@ ok ! __PACKAGE__->can('to_TwentyThree'), "type without coercion doesn't have to_ eval { require TestNamespaceSep }; ok $@, q(trying to declare a type with '::' in it croaks); like $@, qr/Foo::Bar/, q(error message contains type name); + +done_testing;