summaryrefslogtreecommitdiffstats
path: root/t/inheritance.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-05-14 17:17:51 -0500
committerJesse Luehrs <doy@tozt.net>2013-05-14 17:17:51 -0500
commit20150d7cb25af87d7e9a5d94ca0f8a472b13b3ae (patch)
tree6166cc04e8f1cb985aa5a2e9be0c6ab16adbdb43 /t/inheritance.t
parent554a76295ba78d5412f3a46ac945dccf16e7179e (diff)
downloadbread-board-declare-20150d7cb25af87d7e9a5d94ca0f8a472b13b3ae.tar.gz
bread-board-declare-20150d7cb25af87d7e9a5d94ca0f8a472b13b3ae.zip
fix inheritance (xenoterracide)
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;