示例#1
0
文件: UrlTest.php 项目: snikch/ergo
 public function testGetForRelativePathWithOnlySlash()
 {
     $url = new Ergo_Http_Url('http://example.org/test');
     $relative = $url->getUrlForRelativePath('/');
     $this->assertEqual($relative->__toString(), 'http://example.org/test');
 }