public function Html5Test::testErrors in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Html5Test.php \Masterminds\HTML5\Tests\Html5Test::testErrors()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php, line 61
Class
Namespace
Masterminds\HTML5\TestsCode
public function testErrors() {
$dom = $this->html5
->loadHTML('<xx as>');
$this
->assertInstanceOf('\\DOMDocument', $dom);
$this
->assertNotEmpty($this->html5
->getErrors());
$this
->assertTrue($this->html5
->hasErrors());
}