Commits

Toby Inkster committed a2294db Merge

Merge pull request #2 from haarg/multi-role-apply

test application hook when applying multiple roles

Comments (0)

Files changed (1)

 }
 
 {
+	package Local::EmptyRole;
+	use Moo::Role;
+}
+
+{
 	package Local::OtherRole;
 	use Moo::Role;
 	with 'Local::Role'; # "Local::Role applied to Local::OtherRole"
 	1;
 }
 
+{
+	package Local::OtherClass;
+	use Moo;
+	with 'Local::Role', 'Local::EmptyRole';
+}
+
 is_deeply(
 	\@output,
 	[
 		"Local::OtherRole Local::Role",
 		"Local::Class Local::OtherRole",
+		"Local::OtherClass Local::Role",
 	],
 );