projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
update changelog
[m6w6/ext-http]
/
tests
/
client028.phpt
diff --git
a/tests/client028.phpt
b/tests/client028.phpt
index 280c3059d36aa62948708caf4fb501d1e7862548..f14fb8e5f7d9aadf9ede5e772abf3c9028385f2d 100644
(file)
--- a/
tests/client028.phpt
+++ b/
tests/client028.phpt
@@
-29,12
+29,12
@@
class UserHandler implements http\Client\Curl\User
$this->run = $run;
}
$this->run = $run;
}
- function timer($timeout_ms) {
+ function timer(
int
$timeout_ms) {
echo "T";
$this->timeout = $timeout_ms;
}
echo "T";
$this->timeout = $timeout_ms;
}
- function socket($socket, $action) {
+ function socket($socket,
int
$action) {
echo "S";
switch ($action) {
echo "S";
switch ($action) {
@@
-80,7
+80,7
@@
class UserHandler implements http\Client\Curl\User
return count($this->client);
}
return count($this->client);
}
- function wait($timeout_ms = null) {
+ function wait(
int
$timeout_ms = null) {
echo "W";
if ($timeout_ms === null) {
echo "W";
if ($timeout_ms === null) {
@@
-137,5
+137,5
@@
server("proxy.inc", function($port) {
===DONE===
--EXPECTREGEX--
Test
===DONE===
--EXPECTREGEX--
Test
-
T[WST]*(O[WST
]*)+U+int\(200\)
-===DONE===
+
[ST][WST]*([OWSTU
]*)+U+int\(200\)
+
O*
===DONE===