Skip to content

Commit 4048035

Browse files
Ayeshnielsdos
authored andcommitted
ext/curl: Fix failing tests due to string changes in libcurl 8.6.0
Upstream libcurl 8.6.0 contains a change[^1] that caused a test failure. This fixes it by updating the test's `EXPECTF` to use a regex to account for both string patterns. [^1]: curl/curl@45cf4755e71f#diff-a8a54563608f8155973318f4ddb61d7328dab512b8ff2b5cc48cc76979d4204cL1683 Closes GH-13293.
1 parent 218a93b commit 4048035

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.2.17
44

5+
- Curl:
6+
. Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)
57

68
15 Feb 2024, PHP 8.2.16
79

ext/curl/tests/bug77946.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ curl_multi_close($mh);
3434
--EXPECTF--
3535
int(1)
3636
int(1)
37-
string(%d) "Protocol %Sunknown%S not supported or disabled in libcurl"
37+
string(%d) "Protocol %Sunknown%S %rnot supported( or disabled in libcurl)?%r"

0 commit comments

Comments
 (0)