Require Dist::Zilla 4.200016+
[gitmo/Moose.git] / t / native_traits / hash_subtypes.t
index d5f505b..98249aa 100644 (file)
@@ -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'); },