1. Toby Inkster
  2. p5-moox-classattribute

Source

p5-moox-classattribute / t / 20hook_appl.t

Diff from to

File t/20hook_appl.t

  • Ignore whitespace
 }
 
 {
+	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",
 	],
 );