Skip to content

Commit 379e913

Browse files
committed
Fix run-tests.php differ calculateCommonSubsequence for EXPECTF
calculateCommonSubsequence should not contain regexes. Fixes GH-13083 Closes GH-13084
1 parent 3a237b9 commit 379e913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4138,7 +4138,7 @@ public function calculateCommonSubsequence(array $from, array $to): array
41384138
if ($cFrom === 1) {
41394139
foreach ($to as $toV) {
41404140
if (($this->isEqual)($from[0], $toV)) {
4141-
return [$from[0]];
4141+
return [$toV];
41424142
}
41434143
}
41444144

0 commit comments

Comments
 (0)