]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/44-localize_delete-magic.t
Harden t/09-load-tests.t against stray exits
[perl/modules/Scope-Upper.git] / t / 44-localize_delete-magic.t
index 1a6282934bc081ecbd2ec59b974bb33300942bce..9cfec7e3712cdfcc50e8197fcd24966a93535421 100644 (file)
@@ -54,7 +54,8 @@ our @a;
 
 SKIP:
 {
- skip '$NEGATIVE_INDICES has no special meaning on 5.8.0 and older' => 2 if $] < 5.008_001;
+ skip '$NEGATIVE_INDICES has no special meaning on 5.8.0 and older' => 2
+                                                            if "$]" < 5.008_001;
  local $Scope::Upper::Test::TiedArray::NEGATIVE_INDICES = 1;
  local @a;
  tie @a, 'Scope::Upper::Test::TiedArray';