From: Shawn M Moore Date: Wed, 12 Aug 2009 00:40:40 +0000 (-0400) Subject: We accept false attribute names now, update the test X-Git-Tag: 0.92~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dbd0814db3d07d477937c2f4266e793dca133ff7;p=gitmo%2FClass-MOP.git We accept false attribute names now, update the test --- diff --git a/t/021_attribute_errors_and_edge_cases.t b/t/021_attribute_errors_and_edge_cases.t index 4de3ff0..b3da244 100644 --- a/t/021_attribute_errors_and_edge_cases.t +++ b/t/021_attribute_errors_and_edge_cases.t @@ -89,11 +89,12 @@ BEGIN {use Class::MOP;use Class::MOP::Attribute; Class::MOP::Attribute->new(); } '... no name argument'; - dies_ok { + # These are no longer errors + lives_ok { Class::MOP::Attribute->new(''); } '... bad name argument'; - dies_ok { + lives_ok { Class::MOP::Attribute->new(0); } '... bad name argument'; }