X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F010_basics%2F012_rebless.t;h=77ed3ebd88f6e654593fd015ae2840747f36352d;hb=a28e50e44945358d15eb19e4688573741a319fe0;hp=04a0880c59e350f29b95691ed655e89c3ae41248;hpb=1b806c9945d6c57dca3805ae7924571df08aec03;p=gitmo%2FMoose.git diff --git a/t/010_basics/012_rebless.t b/t/010_basics/012_rebless.t index 04a0880..77ed3eb 100644 --- a/t/010_basics/012_rebless.t +++ b/t/010_basics/012_rebless.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 11; +use Test::More; use Test::Exception; use Scalar::Util 'blessed'; @@ -83,3 +83,5 @@ is($bar->lazy_classname, 'Child', "lazy attribute just now initialized"); throws_ok { $foo->type_constrained(10.5) } qr/^Attribute \(type_constrained\) does not pass the type constraint because\: Validation failed for 'Int' failed with value 10\.5/, '... this failed cause of type check'; + +done_testing;