X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F010-required.t;h=e6a69909d2729459ad12a6b55135c4fcbd3ae75c;hb=c9313657717f78bd96f0325c6aa1c93d0b0d41a5;hp=161717c0a7cb06e633e2b3c83bc97c2c22218c96;hpb=398327c34d5f6a94084b1dd6f7b439b771ef8b1b;p=gitmo%2FMouse.git diff --git a/t/010-required.t b/t/010-required.t index 161717c..e6a6990 100644 --- a/t/010-required.t +++ b/t/010-required.t @@ -9,15 +9,18 @@ do { use Mouse; has foo => ( + is => 'bare', required => 1, ); has bar => ( + is => 'bare', required => 1, default => 50, ); has baz => ( + is => 'bare', required => 1, default => sub { 10 }, );