use strict;
use warnings;
-use Test::More tests => 89;
+use Test::More tests => 88;
use File::Spec;
use Scalar::Util 'reftype';
-BEGIN {
- use_ok('Class::MOP');
- require_ok(File::Spec->catdir('examples', 'InsideOutClass.pod'));
+BEGIN {use Class::MOP;
+ require_ok(File::Spec->catfile('examples', 'InsideOutClass.pod'));
}
{
}
package Bar;
+ use metaclass (
+ 'attribute_metaclass' => 'InsideOutClass::Attribute',
+ 'instance_metaclass' => 'InsideOutClass::Instance'
+ );
use strict;
use warnings;
));
package Bar::Baz;
+ use metaclass (
+ 'attribute_metaclass' => 'InsideOutClass::Attribute',
+ 'instance_metaclass' => 'InsideOutClass::Instance'
+ );
use strict;
use warnings;
is(scalar(keys(%{'Bar::Baz::bar'})), 0, '... got the right number of entries for Bar::Baz::bar');
is(scalar(keys(%{'Bar::Baz::baz'})), 0, '... got the right number of entries for Bar::Baz::baz');
is(scalar(keys(%{'Bar::Baz::bling'})), 0, '... got the right number of entries for Bar::Baz::bling');
-}
\ No newline at end of file
+}