diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/HTML5/Parser/TokenizerTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/HTML5/Parser/TokenizerTest.php b/test/HTML5/Parser/TokenizerTest.php index 3065cbb..d988df1 100644 --- a/test/HTML5/Parser/TokenizerTest.php +++ b/test/HTML5/Parser/TokenizerTest.php @@ -279,6 +279,8 @@ class TokenizerTest extends \HTML5\Tests\TestCase { public function testSimpleTags() { $open = array( '<foo>' => 'foo', + '<FOO>' => 'foo', + '<fOO>' => 'foo', '<foo >' => 'foo', "<foo\n\n\n\n>" => 'foo', '<foo:bar>' => 'foo:bar', @@ -290,6 +292,7 @@ class TokenizerTest extends \HTML5\Tests\TestCase { } $selfClose= array( '<foo/>' => 'foo', + '<FOO/>' => 'foo', '<foo />' => 'foo', "<foo\n\n\n\n/>" => 'foo', '<foo:bar/>' => 'foo:bar', @@ -310,7 +313,6 @@ class TokenizerTest extends \HTML5\Tests\TestCase { foreach ($bad as $test => $expects) { $events = $this->parse($test); - //fprintf(STDOUT, $test . PHP_EOL); $this->assertEquals(3, $events->depth(), "Counting events for '$test': " . print_r($events, TRUE)); $this->assertEventError($events->get(0)); $this->assertEventEquals('startTag', $expects, $events->get(1)); |