projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add response tests
[m6w6/ext-http]
/
tests
/
HttpRequest_001.phpt
diff --git
a/tests/HttpRequest_001.phpt
b/tests/HttpRequest_001.phpt
index 8e0d6fab06c112793b1019cfa3fdc1695d6d4265..3f5f2edfc7090814a05eb3104de96d00a87e22da 100644
(file)
--- a/
tests/HttpRequest_001.phpt
+++ b/
tests/HttpRequest_001.phpt
@@
-3,7
+3,7
@@
HttpRequest options
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-
(5 > (int) PHP_VERSION) and die('skip PHP5 is required for Http classes'
);
+
checkver(5
);
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-21,10
+21,7
@@
$r1 = null;
$r2 = null;
?>
--EXPECTF--
$r2 = null;
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
-Array
+%sArray
(
[0] => Array
(
(
[0] => Array
(