summaryrefslogtreecommitdiffstats
path: root/t/inheritance.t
diff options
context:
space:
mode:
Diffstat (limited to 't/inheritance.t')
-rw-r--r--t/inheritance.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/inheritance.t b/t/inheritance.t
index b1517e8..396a731 100644
--- a/t/inheritance.t
+++ b/t/inheritance.t
@@ -3,6 +3,7 @@ use strict;
use warnings;
use Test::More;
use Test::Moose;
+use Test::Fatal;
{
package Parent;
@@ -120,4 +121,13 @@ with_immutable {
}
} 'Parent', 'Child';
+{
+ package FromDisk::Sub;
+ use Moose;
+ use Bread::Board::Declare;
+ use lib 't/lib';
+
+ ::is(::exception { extends 'FromDisk' }, undef);
+}
+
done_testing;