From: Florian Ragwitz Date: Tue, 11 May 2010 10:35:16 +0000 (+0200) Subject: undoublefail X-Git-Tag: 1.04~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=24a9f75ec5a62d7b937af776da790e85d8ff2809;p=gitmo%2FMoose.git undoublefail --- diff --git a/lib/Moose/Meta/TypeConstraint.pm b/lib/Moose/Meta/TypeConstraint.pm index 0b20224..8b6a143 100644 --- a/lib/Moose/Meta/TypeConstraint.pm +++ b/lib/Moose/Meta/TypeConstraint.pm @@ -122,7 +122,7 @@ sub get_message { } else { $value = (defined $value ? overload::StrVal($value) : 'undef'); - return "Validation failed for '" . $self->name . "' failed with value $value"; + return "Validation failed for '" . $self->name . "' with value $value"; } }