use strict;
use warnings;
-use Test::More tests => 76;
+use Test::More tests => 73;
use Test::Exception;
BEGIN {
} '... changed Foo to be immutable';
ok($meta->is_immutable, '... our class is now immutable');
- isa_ok($meta, 'Class::MOP::Class::Immutable');
isa_ok($meta, 'Class::MOP::Class');
# they made a constructor for us :)
} '... changed Bar to be immutable';
ok($meta->is_immutable, '... our class is now immutable');
- isa_ok($meta, 'Class::MOP::Class::Immutable');
isa_ok($meta, 'Class::MOP::Class');
# they made a constructor for us :)
} '... changed Bar to be immutable';
ok($meta->is_immutable, '... our class is now immutable');
- isa_ok($meta, 'Class::MOP::Class::Immutable');
isa_ok($meta, 'Class::MOP::Class');
ok(!Baz->meta->has_method('new'), '... no constructor was made');