]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - t/50-unwind-target.t
Replace raw level numbers by words, except in t/55-unwind-multi.t
[perl/modules/Scope-Upper.git] / t / 50-unwind-target.t
index 7e43baa6247d553bf757fd6a5ce20ea6c8cc0036..430424091d7505145fb518c829d226b8c701300a 100644 (file)
@@ -22,7 +22,7 @@ is_deeply \@res, [ 7 ], 'unwind()';
 is_deeply \@res, [ 7 ], 'unwind(-1)';
 
 @res = (7, eval {
- unwind 100;
+ unwind 0;
  8;
 });
 like $@, qr/^Can't\s+return\s+outside\s+a\s+subroutine/, 'unwind(100) croaks';