зеркало из https://github.com/mozilla/pjs.git
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.
This commit is contained in:
Родитель
42c3884b3f
Коммит
bc3244b469
|
@ -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/) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче