Cleanup failing tests
[gitmo/Mouse.git] / Moose-t-failing / 030_roles / 047_role_attribute_conflict.t
CommitLineData
c47cf415 1use strict;
2# This is automatically generated by author/import-moose-test.pl.
3# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4use t::lib::MooseCompat;
5use warnings;
6
7use Test::More;
8$TODO = q{Mouse is not yet completed};
9use Test::Exception;
10
11{
12 package My::Role1;
13 use Mouse::Role;
14
15 has foo => (
16 is => 'ro',
17 );
18
19}
20
21{
22 package My::Role2;
23 use Mouse::Role;
24
25 has foo => (
26 is => 'ro',
27 );
28
29 ::throws_ok { with 'My::Role1' } qr/attribute conflict.+My::Role2.+foo/,
30 'attribute conflict when composing one role into another';
31}
32
33done_testing;