Skip to content

Commit 95a13d7

Browse files
committed
check for X::Inheritance::SelfInherit.
1 parent dce99e0 commit 95a13d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

S32-exceptions/misc.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,4 +356,6 @@ if $emits_suggestions {
356356
ok $!.message !~~ /Did you mean/, "doesn't suggest if there's no suggestions.";
357357
}
358358

359+
throws_like 'class Foobar is Foobar', X::Inheritance::SelfInherit, name => "Foobar";
360+
359361
done;

0 commit comments

Comments
 (0)