Regenerate test files
[gitmo/Mouse.git] / t-failing / 030_roles / 047_role_attribute_conflict.t
diff --git a/t-failing/030_roles/047_role_attribute_conflict.t b/t-failing/030_roles/047_role_attribute_conflict.t
new file mode 100644 (file)
index 0000000..a641ef4
--- /dev/null
@@ -0,0 +1,33 @@
+use strict;
+# This is automatically generated by author/import-moose-test.pl.
+# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
+use t::lib::MooseCompat;
+use warnings;
+
+use Test::More;
+$TODO = q{Mouse is not yet completed};
+use Test::Exception;
+
+{
+    package My::Role1;
+    use Mouse::Role;
+
+    has foo => (
+        is => 'ro',
+    );
+
+}
+
+{
+    package My::Role2;
+    use Mouse::Role;
+
+    has foo => (
+        is => 'ro',
+    );
+
+    ::throws_ok { with 'My::Role1' } qr/attribute conflict.+My::Role2.+foo/,
+        'attribute conflict when composing one role into another';
+}
+
+done_testing;