Avoid braces as regex delimiters when used escaped in the pattern
[gitmo/Moo.git] / xt / moox-types.t
index 59edbe4..162ed5d 100644 (file)
@@ -51,7 +51,7 @@ eval q {
 
 like(
   $@,
-  qr{^error inflating attribute 'barble' for package 'Fooble': \$TYPE_MAP\{CODE\(\w+?\)\} did not return a valid type constraint},
+  qr/^error inflating attribute 'barble' for package 'Fooble': \$TYPE_MAP\{CODE\(\w+?\)\} did not return a valid type constraint/,
   'error message for incorrect type constraint inflation',
 );