From 2b37b9679c9e6e9aa709eca361e78ef47276b526 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Sat, 6 Jan 2024 17:18:43 +0100 Subject: [PATCH] Fix run-tests.php differ calculateCommonSubsequence for EXPECTF calculateCommonSubsequence should not contain regexes. Fixes GH-13083 --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index 16b74e5804a66..71a8fdc80fe5f 100755 --- a/run-tests.php +++ b/run-tests.php @@ -4138,7 +4138,7 @@ public function calculateCommonSubsequence(array $from, array $to): array if ($cFrom === 1) { foreach ($to as $toV) { if (($this->isEqual)($from[0], $toV)) { - return [$from[0]]; + return [$toV]; } }