From: Dave Rolsky Date: Tue, 26 Oct 2010 20:30:46 +0000 (-0500) Subject: Can't add lazy_build to an attr that has a default in the parent X-Git-Tag: 1.18~53 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a44c34383d28000ebab2996e75905f41a064ebe8;p=gitmo%2FMoose.git Can't add lazy_build to an attr that has a default in the parent --- diff --git a/t/020_attributes/009_attribute_inherited_slot_specs.t b/t/020_attributes/009_attribute_inherited_slot_specs.t index 2e089cb..3a35989 100644 --- a/t/020_attributes/009_attribute_inherited_slot_specs.t +++ b/t/020_attributes/009_attribute_inherited_slot_specs.t @@ -80,7 +80,7 @@ use Test::Fatal; }, '... we can change/add lazy as an attribute option'; ::ok ! ::exception { - has '+gloum' => (lazy_build => 1); + has '+fleem' => (lazy_build => 1); }, '... we can add lazy_build as an attribute option'; ::ok ! ::exception {