]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Correct a couple of test descriptions
authorVincent Pit <vince@profvince.com>
Sat, 3 Sep 2011 22:32:54 +0000 (00:32 +0200)
committerVincent Pit <vince@profvince.com>
Sat, 3 Sep 2011 22:32:54 +0000 (00:32 +0200)
t/50-unwind-target.t

index 3c7a21d278b6bdd9b0c969c6a9051dbc3e56c11f..9ef70ecf7a213fc80c99621d455b7389c6f7d452 100644 (file)
@@ -25,5 +25,5 @@ is_deeply \@res, [ 7 ], 'unwind(-1)';
  unwind 0;
  8;
 });
-like $@, qr/^Can't\s+return\s+outside\s+a\s+subroutine/, 'unwind(100) croaks';
-is_deeply \@res, [ 7 ], 'unwind(100)';
+like $@, qr/^Can't\s+return\s+outside\s+a\s+subroutine/, 'unwind(0) croaks';
+is_deeply \@res, [ 7 ], 'unwind(0)';