2 # Reported as https://rt.cpan.org/Public/Bug/Display.html?id=59663
5 use Test::More tests => 3;
9 'MooseX::Role::Strict' => 0.01, # skip all if not installed
15 use MooseX::Role::Strict;
16 use MooseX::ClassAttribute;
19 is => 'ro', isa => 'HashRef[Str]',
21 default => sub { {} },
31 Test::More::pass('a regular method from the role is composed');
38 use strict; use warnings;
48 lives_ok { Foo->has_attr('key') }
49 'Delegated method from native attribute trait is properly composed from a strict role';