public function Html5Test::testComment in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Html5Test.php \Masterminds\HTML5\Tests\Html5Test::testComment()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php, line 384
Class
Namespace
Masterminds\HTML5\TestsCode
public function testComment() {
$res = $this
->cycle('a<!-- This is a test. -->b');
$this
->assertRegExp('|<!-- This is a test. -->|', $res);
$res = $this
->cycleFragment('a<!-- This is a test. -->b');
$this
->assertRegExp('|<!-- This is a test. -->|', $res);
}