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 stream support for http\Env\Response
[m6w6/ext-http]
/
phpunit
/
UrlTest.php
diff --git
a/phpunit/UrlTest.php
b/phpunit/UrlTest.php
index 50fa2ff2f0605ae7a9f9a9b6d907804dbdf0c540..dcf3b4fdd2533db26be145c3c874fdd1b9b2ab15 100644
(file)
--- a/
phpunit/UrlTest.php
+++ b/
phpunit/UrlTest.php
@@
-43,6
+43,7
@@
class UrlTest extends PHPUnit_Framework_TestCase {
function testArrays() {
$url = new http\Url($this->url);
function testArrays() {
$url = new http\Url($this->url);
- $this->assertEquals($url->toArray(), (new http\Url($url->toArray()))->toArray());
+ $url2 = new http\Url($url->toArray());
+ $this->assertEquals($url->toArray(), $url2->toArray());
}
}
}
}