From: Shawn M Moore Date: Fri, 16 May 2008 16:09:20 +0000 (+0000) Subject: Fix failing test because of the new has_{read,write}_method X-Git-Tag: 0_64~67 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=89871ad6548566c183b41a36cc4e62e9b72fb5a0;p=gitmo%2FClass-MOP.git Fix failing test because of the new has_{read,write}_method --- diff --git a/t/014_attribute_introspection.t b/t/014_attribute_introspection.t index 1ead853..16cf78f 100644 --- a/t/014_attribute_introspection.t +++ b/t/014_attribute_introspection.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 60; +use Test::More tests => 62; use Test::Exception; BEGIN { @@ -20,21 +20,24 @@ BEGIN { isa_ok($meta, 'Class::MOP::Class'); my @methods = qw( - new clone + new + clone initialize_instance_slot _set_initial_slot_value name - has_accessor accessor - has_writer writer get_write_method get_write_method_ref - has_reader reader get_read_method get_read_method_ref - has_predicate predicate - has_clearer clearer - has_builder builder - has_init_arg init_arg - has_default default is_default_a_coderef - has_initializer initializer + has_accessor accessor + has_writer writer + has_write_method get_write_method get_write_method_ref + has_reader reader + has_read_method get_read_method get_read_method_ref + has_predicate predicate + has_clearer clearer + has_builder builder + has_init_arg init_arg + has_default default is_default_a_coderef + has_initializer initializer slots get_value @@ -44,7 +47,8 @@ BEGIN { clear_value associated_class - attach_to_class detach_from_class + attach_to_class + detach_from_class accessor_metaclass