projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix capture mode (again)
[m6w6/ext-http]
/
tests
/
HttpRequest_001.phpt
diff --git
a/tests/HttpRequest_001.phpt
b/tests/HttpRequest_001.phpt
index 3f5f2edfc7090814a05eb3104de96d00a87e22da..27cd1a02cb563b92b843b638d0da1be89ced1c7f 100644
(file)
--- a/
tests/HttpRequest_001.phpt
+++ b/
tests/HttpRequest_001.phpt
@@
-1,12
+1,14
@@
--TEST--
HttpRequest options
--SKIPIF--
--TEST--
HttpRequest options
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
checkver(5);
include 'skip.inc';
checkver(5);
+checkcls('HttpRequest');
?>
--FILE--
<?php
?>
--FILE--
<?php
+echo "-TEST\n";
$r1 = new HttpRequest;
$r2 = new HttpRequest;
$r1->setOptions(array('redirect'=>11, 'headers'=>array('X-Foo'=>'Bar')));
$r1 = new HttpRequest;
$r2 = new HttpRequest;
$r1->setOptions(array('redirect'=>11, 'headers'=>array('X-Foo'=>'Bar')));
@@
-21,7
+23,8
@@
$r1 = null;
$r2 = null;
?>
--EXPECTF--
$r2 = null;
?>
--EXPECTF--
-%sArray
+%sTEST
+Array
(
[0] => Array
(
(
[0] => Array
(
@@
-46,4
+49,4
@@
$r2 = null;
)
)
)
)
-bool(false)
\ No newline at end of file
+bool(false)