projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Implement confliction checks in roles
[gitmo/Mouse.git]
/
t
/
800_shikabased
/
014-subtype-as.t
diff --git
a/t/800_shikabased/014-subtype-as.t
b/t/800_shikabased/014-subtype-as.t
index
263e5ac
..
3dc197b
100644
(file)
--- a/
t/800_shikabased/014-subtype-as.t
+++ b/
t/800_shikabased/014-subtype-as.t
@@
-37,7
+37,7
@@
use Scalar::Util qw/blessed/;
);
- subtype 'Type4';
+ type 'Type4';
has any => (
is => 'rw',
isa => 'Type4',
@@
-64,6
+64,7
@@
isa_ok $f2, 'Foo';
is ref($f2->as_only), 'Obj1';
my $f3 = eval { Foo->new( any => Obj1->new ) };
+die $@ if $@;
isa_ok $f3, 'Foo';
is ref($f3->any), 'Obj1';