From: Jesse Luehrs Date: Tue, 26 Apr 2011 14:35:34 +0000 (-0500) Subject: fix tests for moose error message change X-Git-Tag: 0.05~1^2^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d7a8d2ade316c67d2df979a2d5a60840984c004;p=gitmo%2FMooseX-Dependent.git fix tests for moose error message change --- diff --git a/t/01-types-parameterizable.t b/t/01-types-parameterizable.t index c1bf2f6..352a8e1 100644 --- a/t/01-types-parameterizable.t +++ b/t/01-types-parameterizable.t @@ -106,7 +106,7 @@ use Test::More tests=>79; { '"aaa" is not an integer'; like IntLessThan->validate('aaa'), - qr/Validation failed for 'main::EvenInt' with value aaa/, + qr/Validation failed for 'main::EvenInt' with value .*aaa.*/, 'Got expected error messge for "aaa"'; ok !IntLessThan->check(1),