Added return statement to the end of get_inherited to return undef as a last resort
[p5sagit/Class-Accessor-Grouped.git] / t / lib / BaseInheritedGroups.pm
index 1f63f0f..23f3ff8 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 use base 'Class::Accessor::Grouped';
 
-__PACKAGE__->mk_group_accessors('inherited', 'basefield');
+__PACKAGE__->mk_group_accessors('inherited', 'basefield', 'undefined');
 
 sub new {
     return bless {}, shift;