6 use Test::More tests => 4;
15 This basically just makes sure that using +name
16 on role attributes works right. It is pretty simple
17 test really, but I wanted to have one since we are
18 officially supporting the feature now.
29 default => sub { 10 },
38 has '+bar' => (default => sub { 100 });
39 } '... extended the attribute successfully';
45 is($foo->bar, 100, '... got the extended attribute');