X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F13_typedecorator.t;h=c225938dbd8f5a6bd017d01faf93a7b01ac2f167;hb=d9002a8523567e24b0787a81d891928f937bd6af;hp=5104a820cc5f7ada010d10b44b9809976f06b415;hpb=764e65c81e9d50b8f4139a126836bf4da03ef97c;p=gitmo%2FMooseX-Types.git diff --git a/t/13_typedecorator.t b/t/13_typedecorator.t index 5104a82..c225938 100644 --- a/t/13_typedecorator.t +++ b/t/13_typedecorator.t @@ -142,7 +142,7 @@ is_deeply $type->AtLeastOneInt, [1,2] throws_ok sub { $type->AtLeastOneInt([]); -}, qr/Attribute \(AtLeastOneInt\) does not pass the type constraint/ => 'properly fails'; +}, qr/Attribute \(AtLeastOneInt\) does not pass the type constraint/ => 'properly fails to assign as []'; throws_ok sub { $type->AtLeastOneInt(['a','b']);