tests for _load_module
[gitmo/Role-Tiny.git] / t / role-basic-basic.t
1 use Test::More tests => 3;
2 use lib 'lib', 't/role-basic/lib';
3
4 use_ok 'My::Example' or BAIL_OUT 'Could not load test module My::Example';
5 can_ok 'My::Example', 'no_conflict';
6 is +My::Example->no_conflict, 'My::Does::Basic::no_conflict',
7     '... and it should return the correct value';