Revision history for Class::Accessor::Grouped.
+ - Altered get_inherited to return undef rather than () when no value
+ set for Class::Data::(Inheritable|Accessor) compatiblity
+
0.06001
- Fixed spelling test error
- Added WriteAll/DIST/PREOP for README
-use Test::More tests => 33;
+use Test::More tests => 35;
use strict;
use warnings;
use lib 't/lib';
my $super = SuperInheritedGroups->new;
my $base = BaseInheritedGroups->new;
+my @ret = SuperInheritedGroups->basefield;
+
+ok(@ret == 1, 'Return value before set');
+ok(!defined(SuperInheritedGroups->basefield), 'Undef return before set');
+
# set base. base, super, object = base
is(BaseInheritedGroups->basefield('All Your Base'), 'All Your Base');
is(SuperInheritedGroups->basefield, 'All Your Base');