use strict;
use warnings;
-use Test::More tests => 19;
+use Test::More tests => 18;
use Test::Exception;
-BEGIN {
- use_ok('Moose');
-}
+
{
package Foo;
use Moose;
-
+
has 'bar' => (is => 'rw', isa => 'ArrayRef | HashRef');
}
{
package Bar;
use Moose;
-
+
has 'baz' => (is => 'rw', isa => 'Str | CodeRef');
}