From 379e913e1ac623a0007d6a32126c792f551deee9 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 Closes GH-13084 --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index 16b74e5804a..71a8fdc80fe 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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]; } }