mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
In perl, to break out of a foreach loop we need to use
the keyword "last" and not "break". Fixing the failing test case.
This commit is contained in:
parent
95205bbaff
commit
b757c13078
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ foreach $line (reverse @lines) {
|
|||
++$count;
|
||||
print "$line";
|
||||
if ($count == 2) {
|
||||
break;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue