X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-StrictConstructor.git;a=blobdiff_plain;f=t%2Fbasic.t;fp=t%2Fbasic.t;h=f69201fc803275db2655ba64e3726ad2f0dd8592;hp=2a11bfca19cbd55ab6f63e9861df848823c55ea1;hb=43ee1f5b5267d15fe25b4292f7a49aed8359eca4;hpb=8834a28e7b417b9a759785bb99be3e36fa197080 diff --git a/t/basic.t b/t/basic.t index 2a11bfc..f69201f 100644 --- a/t/basic.t +++ b/t/basic.t @@ -119,15 +119,15 @@ with_immutable { ); is( - exception { OtherStrictSubclass->new( thing => 1, size => 'large', ) } - , undef, - 'strict subclass from parent that doesn\'t use strict constructor handles known attributes correctly' + exception { OtherStrictSubclass->new( thing => 1, size => 'large', ) }, + undef, + q{strict subclass from parent that doesn't use strict constructor handles known attributes correctly} ); like( exception { OtherStrictSubclass->new( thing => 1, bad => 99 ) }, qr/unknown attribute.+: bad/, - 'strict subclass from parent that doesn\'t use strict correctly recognizes bad attribute' + q{strict subclass from parent that doesn't use strict correctly recognizes bad attribute} ); is(