From: Vincent Pit Date: Sat, 3 Sep 2011 22:32:54 +0000 (+0200) Subject: Correct a couple of test descriptions X-Git-Tag: v0.16~3 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Upper.git;a=commitdiff_plain;h=00eb4513e6dc65546222404eaa0e1c4910587c70 Correct a couple of test descriptions --- diff --git a/t/50-unwind-target.t b/t/50-unwind-target.t index 3c7a21d..9ef70ec 100644 --- a/t/50-unwind-target.t +++ b/t/50-unwind-target.t @@ -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)';