X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fnative_traits%2Fhash_subtypes.t;h=98249aac6f1c05d671c546934efc6171dd1d9556;hb=366abb63a74af7c8a6eb6390f30d60a6bdfca414;hp=d5f505b080bd73fd08f8dabf5d20ac196734ff88;hpb=829433c47061dd70a608bfcd940113c4172b6950;p=gitmo%2FMoose.git diff --git a/t/native_traits/hash_subtypes.t b/t/native_traits/hash_subtypes.t index d5f505b..98249aa 100644 --- a/t/native_traits/hash_subtypes.t +++ b/t/native_traits/hash_subtypes.t @@ -156,7 +156,7 @@ my $foo = Foo->new; { my $expect - = qr/\QAttribute (h4) does not pass the type constraint because: Validation failed for 'HashRef' with value invalid/; + = qr/\QAttribute (h4) does not pass the type constraint because: Validation failed for 'HashRef' with value \E.*invalid.*/; like( exception { $foo->accessor_h4('key'); },