Fixed test case to include version being returned as part of the parser results

This commit is contained in:
Tjerk Meesters 2014-08-21 17:58:13 +08:00
parent 9308a0ed05
commit 99c345c51d

View File

@ -53,7 +53,7 @@ uv_http_parser_execute($parser, $buffer, $result);
var_dump($result);
--EXPECT--
# Headers count
9
10
# Headers values
chobie.net
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0
@ -80,7 +80,7 @@ array(5) {
["UPGRADE"]=>
int(1)
["HEADERS"]=>
array(5) {
array(6) {
["UPGRADE"]=>
string(9) "WebSocket"
["CONNECTION"]=>
@ -91,5 +91,7 @@ array(5) {
string(18) "http://example.com"
["WEBSOCKET_PROTOCOL"]=>
string(6) "sample"
["VERSION"]=>
string(3) "1.1"
}
}