use Devel::PartialDump to dump tc failures, if possible
[gitmo/Moose.git] / t / native_traits / array_subtypes.t
index 6b38ae7..598605e 100644 (file)
@@ -171,7 +171,7 @@ my $foo = Foo->new;
 
 {
     my $expect
-        = qr/\QAttribute (a4) does not pass the type constraint because: Validation failed for 'ArrayRef' with value invalid/;
+        = qr/\QAttribute (a4) does not pass the type constraint because: Validation failed for 'ArrayRef' with value \E.*invalid.*/;
 
     like(
         exception { $foo->accessor_a4(0); },