public function TokenizerTest::testParse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Parser/TokenizerTest.php \Masterminds\HTML5\Tests\Parser\TokenizerTest::testParse()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Parser/ TokenizerTest.php, line 67
Class
Namespace
Masterminds\HTML5\Tests\ParserCode
public function testParse() {
list($tok, $events) = $this
->createTokenizer('');
$tok
->parse();
$e1 = $events
->get(0);
$this
->assertEquals(1, $events
->Depth());
$this
->assertEquals('eof', $e1['name']);
}