]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Correct test description
authorVincent Pit <vince@profvince.com>
Mon, 12 Jan 2009 16:12:56 +0000 (17:12 +0100)
committerVincent Pit <vince@profvince.com>
Mon, 12 Jan 2009 16:12:56 +0000 (17:12 +0100)
t/50-unwind-target.t

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