Skip to content

Commit

Permalink
Remove unnecessary curl skipifs
Browse files Browse the repository at this point in the history
These test for functions/versions that are always available.
  • Loading branch information
nikic committed Jun 14, 2021
1 parent 06053e9 commit ca423a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions ext/curl/tests/curl_escape.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
Test curl_escape and curl_unescape() functions
--EXTENSIONS--
curl
--SKIPIF--
<?php
if (!function_exists("curl_escape")) exit("skip curl_escape doesn't exists");
$curl_version = curl_version();
if ($curl_version['version_number'] < 0x071502) {
exit("skip: tests works only on curl >= 7.21.2");
}
?>
--FILE--
<?php
$str = "http://www.php.net/ ?!";
Expand Down
3 changes: 0 additions & 3 deletions ext/curl/tests/curl_reset.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
Test curl_reset
--EXTENSIONS--
curl
--SKIPIF--
<?php if (!function_exists("curl_reset")) exit("skip curl_reset doesn't exists (require libcurl >= 7.12.1)");
?>
--FILE--
<?php

Expand Down

0 comments on commit ca423a1

Please sign in to comment.