X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F07-context_info.t;h=b32dba7670e39b963cad919597136f3fafa77b6c;hb=b28b51b004d8c91c31c1832655c09d9d0469f813;hp=32a943be64652ef3e40d85956a30f5cc84727862;hpb=d5220346a9c7076bca46b2bb61e313750c683a7b;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/07-context_info.t b/t/07-context_info.t index 32a943b..b32dba7 100644 --- a/t/07-context_info.t +++ b/t/07-context_info.t @@ -47,6 +47,7 @@ sub expected { if ($top) { $want = "$]" < 5.015_001 ? '' : undef; $hints &= ~HINT_BLOCK_SCOPE if $Config{usesitecustomize}; + $hints |= HINT_BLOCK_SCOPE if "$]" >= 5.019003; $warnings = sub { use warnings; (caller 0)[9] }->() if "$]" < 5.007 and not $^W; }