X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F010_self_introspection.t;h=febc677104233e5238fa99c44656b1357993ba34;hb=2bab2be690fec92f81ec4174ae83e09bde362ca7;hp=a59ef868fb7b0834e98bc1d22a5d5d8d9e4df53b;hpb=839ea97307cde7e936bff72d3f76d6213b9883a9;p=gitmo%2FClass-MOP.git diff --git a/t/010_self_introspection.t b/t/010_self_introspection.t index a59ef86..febc677 100644 --- a/t/010_self_introspection.t +++ b/t/010_self_introspection.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 136; +use Test::More tests => 140; use Test::Exception; BEGIN { @@ -26,6 +26,7 @@ my @methods = qw( initialize create create_anon_class + instance_metaclass new_object clone_object construct_instance construct_class_instance clone_instance check_metaclass_compatability @@ -73,7 +74,13 @@ foreach my $non_method_name (qw( # check for the right attributes -my @attributes = ('$:package', '%:attributes', '$:attribute_metaclass', '$:method_metaclass'); +my @attributes = ( + '$:package', + '%:attributes', + '$:attribute_metaclass', + '$:method_metaclass', + '$:instance_metaclass' +); is_deeply( [ sort @attributes ],