зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
7b1a85f11a
Коммит
59ed7fd39d
|
@ -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/) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче