diff options
author | 2004-08-28 15:17:21 +0000 | |
---|---|---|
committer | 2004-08-28 15:17:21 +0000 | |
commit | 5068892c6c3346bc665dde8186aac747eea8db18 (patch) | |
tree | 30e829e11c21e54b71527ac4efdaae1df01ef4ba /t | |
parent | Fix for bug 253480: pages should be classified rather than identified by (diff) | |
download | bugzilla-5068892c6c3346bc665dde8186aac747eea8db18.tar.gz bugzilla-5068892c6c3346bc665dde8186aac747eea8db18.tar.bz2 bugzilla-5068892c6c3346bc665dde8186aac747eea8db18.zip |
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 <marcschum@web.de>; r=kiko, a=justdave.
Diffstat (limited to 't')
-rw-r--r-- | t/002goodperl.t | 2 |
1 files changed, 1 insertions, 1 deletions
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 = <FILE>) { + while (!$error && (my $file_line = <FILE>)) { $lineno++; if ($file_line =~ /Throw.*Error\("(.*?)"/) { if ($1 =~ /\s/) { |