From: Jesse Luehrs Date: Thu, 5 May 2011 15:41:57 +0000 (-0500) Subject: fix references to test files X-Git-Tag: 2.0100~177 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c739d1aa02657fcc42afa4b737d2e207d29567e;p=gitmo%2FMoose.git fix references to test files --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index eb50b0e..267e376 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -783,7 +783,8 @@ sub _force_rebless_instance { } # rebless! - # we use $_[1] here because of t/306_rebless_overload.t regressions on 5.8.8 + # we use $_[1] here because of t/cmop/rebless_overload.t regressions + # on 5.8.8 $meta_instance->rebless_instance_structure($_[1], $self); $self->_fixup_attributes_after_rebless($instance, $old_metaclass, %params); diff --git a/lib/Class/MOP/Instance.pm b/lib/Class/MOP/Instance.pm index 51a84d6..499cc25 100644 --- a/lib/Class/MOP/Instance.pm +++ b/lib/Class/MOP/Instance.pm @@ -150,7 +150,8 @@ sub strengthen_slot_value { sub rebless_instance_structure { my ($self, $instance, $metaclass) = @_; - # we use $_[1] here because of t/306_rebless_overload.t regressions on 5.8.8 + # we use $_[1] here because of t/cmop/rebless_overload.t regressions + # on 5.8.8 bless $_[1], $metaclass->name; } diff --git a/lib/Moose.pm b/lib/Moose.pm index ec39490..7653d15 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -84,7 +84,7 @@ our @SUPER_ARGS; sub super { # This check avoids a recursion loop - see - # t/100_bugs/020_super_recursion.t + # t/bugs/super_recursion.t return if defined $SUPER_PACKAGE && $SUPER_PACKAGE ne caller(); return unless $SUPER_BODY; $SUPER_BODY->(@SUPER_ARGS); } @@ -1014,7 +1014,7 @@ unresolvable conflict. It should be noted that C and C B be used in the same method. However, they may be combined within the same class hierarchy; see -F for an example. +F for an example. The reason for this is that C is only valid within a method with the C modifier, and C will never be valid within an diff --git a/lib/Moose/Cookbook/Basics/Recipe1.pod b/lib/Moose/Cookbook/Basics/Recipe1.pod index 6e403e3..a39533a 100644 --- a/lib/Moose/Cookbook/Basics/Recipe1.pod +++ b/lib/Moose/Cookbook/Basics/Recipe1.pod @@ -165,7 +165,7 @@ required, and calling C without them will throw an error. From here on, we can use C<$point> and C<$point3d> just as you would any other Perl 5 object. For a more detailed example of what can be done, you can refer to the -F test file. +F test file. =head2 Moose Objects are Just Hashrefs diff --git a/lib/Moose/Cookbook/Basics/Recipe2.pod b/lib/Moose/Cookbook/Basics/Recipe2.pod index e4e643e..255e91c 100644 --- a/lib/Moose/Cookbook/Basics/Recipe2.pod +++ b/lib/Moose/Cookbook/Basics/Recipe2.pod @@ -159,7 +159,7 @@ method, which accepts named parameters. ); And as with the first recipe, a more in-depth example can be found in -the F test file. +the F test file. =head1 CONCLUSION diff --git a/lib/Moose/Cookbook/Basics/Recipe3.pod b/lib/Moose/Cookbook/Basics/Recipe3.pod index fc4152b..31832d3 100644 --- a/lib/Moose/Cookbook/Basics/Recipe3.pod +++ b/lib/Moose/Cookbook/Basics/Recipe3.pod @@ -184,7 +184,7 @@ ensure that is has the correct value for its C attribute. As with all the other recipes, B can be used just like any other Perl 5 class. A more detailed example of its usage can be found -in F. +in F. =head1 CONCLUSION diff --git a/lib/Moose/Cookbook/Basics/Recipe4.pod b/lib/Moose/Cookbook/Basics/Recipe4.pod index 7570e9a..d9fff11 100644 --- a/lib/Moose/Cookbook/Basics/Recipe4.pod +++ b/lib/Moose/Cookbook/Basics/Recipe4.pod @@ -252,7 +252,7 @@ arguments to C. Instead, Moose simply passes the same parameters that were passed to the method. A more detailed example of usage can be found in -F. +F. =head1 CONCLUSION diff --git a/lib/Moose/Cookbook/Basics/Recipe9.pod b/lib/Moose/Cookbook/Basics/Recipe9.pod index 5057408..a6fdf36 100644 --- a/lib/Moose/Cookbook/Basics/Recipe9.pod +++ b/lib/Moose/Cookbook/Basics/Recipe9.pod @@ -235,7 +235,7 @@ If you'd like to learn more about overloading, please read the documentation for the L pragma. To see all the code we created together, take a look at -F. +F. =head1 NEXT STEPS diff --git a/lib/Moose/Util.pm b/lib/Moose/Util.pm index d7e7e50..1128111 100644 --- a/lib/Moose/Util.pm +++ b/lib/Moose/Util.pm @@ -305,7 +305,7 @@ sub _reconcile_roles_for_metaclass { # handle the case where we need to fix compatibility between a class and # its parent, but all roles in the class are already also done by the # parent - # see t/050/054.t + # see t/metaclasses/metaclass_compat_no_fixing_bug.t return $super_meta_name unless @role_differences; diff --git a/lib/Moose/Util/TypeConstraints.pm b/lib/Moose/Util/TypeConstraints.pm index 36146a8..375e5f4 100644 --- a/lib/Moose/Util/TypeConstraints.pm +++ b/lib/Moose/Util/TypeConstraints.pm @@ -1024,7 +1024,7 @@ L to declare a completely new type. )->(@_); }; -For more examples see the F test +For more examples see the F test file. Here is an example of using L and it's non-test @@ -1040,7 +1040,7 @@ related C function. }; For a complete example see the -F test file. +F test file. =head2 Error messages