Subject: | loop variable mistakenly (?) reset in TypeConstraints unit test |
Not certain, but I believe line 56 of
t/040_type_constraints/005_util_type_coercion.t should be removed, as it
overwrites the value of the loop variable ($coercion). See attached patch.
Subject: | Moose-0.70-coercion-unit-test-patch.diff |
--- Moose-0.70/t/040_type_constraints/005_util_type_coercion.t.orig 2009-02-18 10:50:15.000000000 -0500
+++ Moose-0.70/t/040_type_constraints/005_util_type_coercion.t 2009-02-18 10:50:22.000000000 -0500
@@ -53,7 +53,6 @@
$anon_type->coercion
) {
- my $coercion = find_type_constraint('Header')->coercion;
isa_ok($coercion, 'Moose::Meta::TypeCoercion');
{