From 2834f47031ba4d7bf1e0df5b0137b61c6b6d82c2 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 19 Nov 2024 12:28:32 +0100 Subject: [PATCH] Fix test expectation for single digit days See . Co-authored-by: Ayesh Karunaratne --- tests/basic/build_date.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic/build_date.phpt b/tests/basic/build_date.phpt index 44f09bab59a..ccd68a15a2b 100644 --- a/tests/basic/build_date.phpt +++ b/tests/basic/build_date.phpt @@ -5,4 +5,4 @@ PHP_BUILD_DATE var_dump(PHP_BUILD_DATE); ?> --EXPECTREGEX-- -string\(20\) "[A-Za-z]{3} \d{2} \d{4} \d{2}:\d{2}:\d{2}" +string\(20\) "[A-Za-z]{3} ( \d|\d{2}) \d{4} \d{2}:\d{2}:\d{2}"