X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F104_AttributesWithHistory_test.t;h=8542ef033faa4729d553a5d0fba7acc95f757af2;hb=5659d76e5bb87873fa7c80efdf1cce8c40d40237;hp=ada9d6786e0cf3b9ac19711252c4f680aff4f453;hpb=526ba574c9dfda8f386f44c36a7f05d815155deb;p=gitmo%2FClass-MOP.git diff --git a/t/104_AttributesWithHistory_test.t b/t/104_AttributesWithHistory_test.t index ada9d67..8542ef0 100644 --- a/t/104_AttributesWithHistory_test.t +++ b/t/104_AttributesWithHistory_test.t @@ -29,8 +29,8 @@ BEGIN { sub new { my $class = shift; - bless $class->meta->construct_instance(@_) => $class; - } + $class->meta->new_object(@_); + } } my $foo = Foo->new();