X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F030_roles%2F003_apply_role.t;h=96f406a376a022741806767641731bd1cd7e4880;hb=f02c03d6b01452536d3e3b189438d73cf16568a2;hp=f2adea86fcb319cfec355c48fbaf6f20f3b04585;hpb=9df136d0ec3963a967e8ac7fdfacffa3e0d50cd9;p=gitmo%2FMoose.git diff --git a/t/030_roles/003_apply_role.t b/t/030_roles/003_apply_role.t index f2adea8..96f406a 100644 --- a/t/030_roles/003_apply_role.t +++ b/t/030_roles/003_apply_role.t @@ -39,7 +39,7 @@ BEGIN { sub boo { 'BarClass::boo' } sub foo { 'BarClass::foo' } # << the role overrides this ... - make_immutable(debug => 0); + metaclass->make_immutable(debug => 0); }{ package FooClass; @@ -52,7 +52,7 @@ BEGIN { sub goo { 'FooClass::goo' } # << overrides the one from the role ... - make_immutable(debug => 0); + metaclass->make_immutable(debug => 0); }{ package FooBarClass;