From e304adf98ba86c921c1e3df2ee623c2a302ae2b3 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sat, 28 Aug 2004 15:14:59 +0000 Subject: Patch for bug 216572: 002goodperl.t shouldn't add an extra test for every additional Throw*Error violation in the same file; patch by Marc Schumann ; r=kiko, a=justdave. --- t/002goodperl.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/002goodperl.t b/t/002goodperl.t index 92a01fc2d..676cd1776 100644 --- a/t/002goodperl.t +++ b/t/002goodperl.t @@ -107,7 +107,7 @@ foreach my $file (@testitems) { my $lineno = 0; my $error = 0; - while (my $file_line = ) { + while (!$error && (my $file_line = )) { $lineno++; if ($file_line =~ /Throw.*Error\("(.*?)"/) { if ($1 =~ /\s/) { -- cgit v1.2.3-24-g4f1b