mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 00:47:55 +08:00
added unit test for #8066
This commit is contained in:
@ -109,6 +109,7 @@ class HtmlTest extends TestCase
|
||||
$this->assertEquals('<a>something<></a>', Html::a('something<>'));
|
||||
$this->assertEquals('<a href="/example">something</a>', Html::a('something', '/example'));
|
||||
$this->assertEquals('<a href="/test">something</a>', Html::a('something', ''));
|
||||
$this->assertEquals('<a href="http://www.быстроном.рф">http://www.быстроном.рф</a>', Html::a('http://www.быстроном.рф', 'http://www.быстроном.рф'));
|
||||
}
|
||||
|
||||
public function testMailto()
|
||||
|
||||
Reference in New Issue
Block a user