com php-src: Fixed test: ext/standard/tests/strings/url_t.p hpt
| From: | JulienPauli | Date: | Tue, 22 Dec 2015 17:12:56 +0000 |
| Subject: | com php-src: Fixed test: ext/standard/tests/strings/url_t.p hpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90398@lists.php.net to get a copy of this message | ||
Commit: b92ae5d7bc90993766cc177838d32bf3f837fbeb
Author: Ilia Alshanetsky <ilia@ilia.ws> Wed, 28 Oct 2015 18:38:54 -0400
Committer: Julien Pauli <jpauli@php.net> Tue, 22 Dec 2015 18:12:56 +0100
Parents: f705063e23183c073837bb76eea6a49d721b37f2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b92ae5d7bc90993766cc177838d32bf3f837fbeb
Log:
Fixed test
Changed paths:
M ext/standard/tests/strings/url_t.phpt
Diff:
diff --git a/ext/standard/tests/strings/url_t.phpt b/ext/standard/tests/strings/url_t.phpt
index e172061..8fdddcb 100644
--- a/ext/standard/tests/strings/url_t.phpt
+++ b/ext/standard/tests/strings/url_t.phpt
@@ -575,22 +575,7 @@ $sample_urls = array (
string(16) "some_page_ref123"
}
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123:
array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(14) "secret@hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
+--> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123:
bool(false)
--> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123:
array(8) {
["scheme"]=>
@@ -759,22 +744,7 @@ $sample_urls = array (
string(7) "9130731"
}
---> http://user:@pass@host/path?argument?value#etc:
array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(4) "host"
- ["user"]=>
- string(4) "user"
- ["pass"]=>
- string(5) "@pass"
- ["path"]=>
- string(5) "/path"
- ["query"]=>
- string(14) "argument?value"
- ["fragment"]=>
- string(3) "etc"
-}
+--> http://user:@pass@host/path?argument?value#etc:
bool(false)
string(4) "http"
string(11) "www.php.net"
int(80)