summaryrefslogtreecommitdiff
path: root/ext/B/t/optree_concise.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/B/t/optree_concise.t')
-rw-r--r--ext/B/t/optree_concise.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/t/optree_concise.t b/ext/B/t/optree_concise.t
index df4162acfd..a72e7c857c 100644
--- a/ext/B/t/optree_concise.t
+++ b/ext/B/t/optree_concise.t
@@ -274,7 +274,7 @@ checkOptree
( name => 'cmdline self-strict compile err using code',
code => 'use strict; sort @a',
bcopts => [qw/ -basic -concise -exec /],
- errs => 'Global symbol "@a" requires explicit package name at .*? line 1.',
+ errs => qr/Global symbol "\@a" requires explicit package name at .*? line 1\./,
note => 'this test relys on a kludge which copies $@ to rendering when empty',
expect => 'Global symbol',
expect_nt => 'Global symbol',