From: Kent Fredric Date: Wed, 22 Jun 2011 05:33:07 +0000 (+1200) Subject: Fix the string check on the test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cb6d4b3274022448c61ea38e103998de141da7d1;p=gitmo%2FMoose.git Fix the string check on the test --- diff --git a/t/type_constraints/intersection_types.t b/t/type_constraints/intersection_types.t index 93a6a82..3a1c21e 100644 --- a/t/type_constraints/intersection_types.t +++ b/t/type_constraints/intersection_types.t @@ -68,6 +68,6 @@ ok(!defined($RefAndArray->validate([])), '... (ArrayRef & Ref) can accept []'); ok(defined($RefAndArray->validate(undef)), '... (ArrayRef & Ref) cannot accept undef'); like($RefAndArray->validate(undef), -qr/Validation failed for \'ArrayRef\' failed with value undef and Validation failed for \'Ref\' failed with value undef in \(ArrayRef&Ref\)/, +qr/Validation failed for \'ArrayRef\' with value undef and Validation failed for \'Ref\' with value undef in \(ArrayRef&Ref\)/, '... (ArrayRef & Ref) cannot accept undef');