error control for http\Url
[m6w6/ext-http] / tests / urlparser008.phpt
index 9646fa0d67aae97b4c56020cdc52d983270878c1..ce7a8cc8facd8da281997f3780d0af542b61d16e 100644 (file)
@@ -29,10 +29,10 @@ DONE
 Test
 
 s://[a:80
-http\Url::__construct(): Failed to parse hostinfo; expected ']'
+http\Url::__construct(): Failed to parse hostinfo; expected ']' at pos 5 in '[a:80'
 
 s://[0]
-http\Url::__construct(): Failed to parse hostinfo; unexpected '['
+http\Url::__construct(): Failed to parse hostinfo; unexpected '[' at pos 0 in '[0]'
 
 s://[::1]:80
 object(http\Url)#%d (8) {