X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F040_type_constraints%2F032_throw_error.t;h=662d3270db8e46eb063274ecc5ceb2f52ca76c31;hb=a28e50e44945358d15eb19e4688573741a319fe0;hp=2d15a06b7b5ea7942f6c50079f04e175f005049a;hpb=1b806c9945d6c57dca3805ae7924571df08aec03;p=gitmo%2FMoose.git diff --git a/t/040_type_constraints/032_throw_error.t b/t/040_type_constraints/032_throw_error.t index 2d15a06..662d327 100644 --- a/t/040_type_constraints/032_throw_error.t +++ b/t/040_type_constraints/032_throw_error.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More; use Moose::Util::TypeConstraints; @@ -10,3 +10,5 @@ eval { Moose::Util::TypeConstraints::create_type_constraint_union() }; like( $@, qr/\QYou must pass in at least 2 type names to make a union/, 'can throw a proper error without Moose being loaded by the caller' ); + +done_testing;