2 # https://rt.cpan.org/Public/Bug/Display.html?id=61852
9 use Mouse::Util::TypeConstraints;
14 foreach my $item(@{$_}) {
15 defined($item) or return 0;
26 eval { X->new(list => [ 1, 2, 3 ]) };
29 eval { X->new(list => [ 1, undef, 3 ]) };
30 like $@, qr/Validation[ ]failed[ ]for[ ]'List'/xms;