diff options
author | Technosophos <[email protected]> | 2013-04-24 16:17:32 -0500 |
---|---|---|
committer | Technosophos <[email protected]> | 2013-04-24 16:17:32 -0500 |
commit | debc724a1e4048a9ec42c44c31e61542cbd52701 (patch) | |
tree | 007c1d74e77c3a62b0727f5fb1e4ee6363e12808 /test/HTML5/ElementsTest.php | |
parent | 908039dbc19decf0f897867b1add614acbcf9352 (diff) |
Added negative test to unit tests.
Diffstat (limited to 'test/HTML5/ElementsTest.php')
-rw-r--r-- | test/HTML5/ElementsTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php index 7fe6af8..69d0675 100644 --- a/test/HTML5/ElementsTest.php +++ b/test/HTML5/ElementsTest.php @@ -334,6 +334,7 @@ class ElementsTest extends TestCase { public function testIsA() { $this->assertTrue(Elements::isA('script', Elements::KNOWN_ELEMENT)); + $this->assertFalse(Elements::isA('scriptypoo', Elements::KNOWN_ELEMENT)); $this->assertTrue(Elements::isA('script', Elements::TEXT_RAW)); $this->assertFalse(Elements::isA('script', Elements::TEXT_RCDATA)); } |