make process_accessors private
[gitmo/Class-MOP.git] / t / 021_attribute_errors_and_edge_cases.t
index 9fa4705..4de3ff0 100644 (file)
@@ -129,7 +129,7 @@ BEGIN {use Class::MOP;use Class::MOP::Attribute;
     my $attr = Class::MOP::Attribute->new('$test');
 
     dies_ok {
-        $attr->process_accessors('fail', 'my_failing_sub');
+        $attr->_process_accessors('fail', 'my_failing_sub');
     } '... cannot find "fail" type generator';
 }