mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix run-tests.php differ calculateCommonSubsequence for EXPECTF
calculateCommonSubsequence should not contain regexes. Fixes GH-13083 Closes GH-13084
This commit is contained in:
@@ -4138,7 +4138,7 @@ final class Differ
|
||||
if ($cFrom === 1) {
|
||||
foreach ($to as $toV) {
|
||||
if (($this->isEqual)($from[0], $toV)) {
|
||||
return [$from[0]];
|
||||
return [$toV];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user