Skip to content

Commit 251195b

Browse files
Ayeshiluuu1994
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 fc5d83f commit 251195b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)