projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make type constraint messages compatible with Moose's
[gitmo/Mouse.git]
/
lib
/
Mouse
/
Meta
/
TypeConstraint.pm
diff --git
a/lib/Mouse/Meta/TypeConstraint.pm
b/lib/Mouse/Meta/TypeConstraint.pm
index
81d5d35
..
2dd7afb
100644
(file)
--- a/
lib/Mouse/Meta/TypeConstraint.pm
+++ b/
lib/Mouse/Meta/TypeConstraint.pm
@@
-164,7
+164,7
@@
sub get_message {
}
else {
$value = ( defined $value ? overload::StrVal($value) : 'undef' );
- return "Validation failed for '$self' failed with value $value";
+ return "Validation failed for '$self' with value $value";
}
}