diff options
author | Christophe Coevoet <[email protected]> | 2018-11-24 14:40:25 +0100 |
---|---|---|
committer | Christophe Coevoet <[email protected]> | 2018-11-24 18:16:48 +0100 |
commit | 5fc632676eeb0c34ee8a66f6ebf8c39985766f08 (patch) | |
tree | 4ad90f15a8a20465b465b8fabc907946fd38a39a /test/HTML5/ElementsTest.php | |
parent | 1fd419b9e62efcab9c79f3848c54dd3717a7e725 (diff) |
Fix typos in comments
Diffstat (limited to 'test/HTML5/ElementsTest.php')
-rw-r--r-- | test/HTML5/ElementsTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php index d426aef..e0a8905 100644 --- a/test/HTML5/ElementsTest.php +++ b/test/HTML5/ElementsTest.php @@ -269,7 +269,7 @@ class ElementsTest extends TestCase foreach ($this->mathmlElements as $element) { $this->assertTrue(Elements::isMathMLElement($element), 'MathML element test failed on: ' . $element); - // MathML is case sensetitive so these should all fail. + // MathML is case sensitive so these should all fail. $this->assertFalse(Elements::isMathMLElement(strtoupper($element)), 'MathML element test failed on: ' . strtoupper($element)); } @@ -288,7 +288,7 @@ class ElementsTest extends TestCase foreach ($this->svgElements as $element) { $this->assertTrue(Elements::isSvgElement($element), 'SVG element test failed on: ' . $element); - // SVG is case sensetitive so these should all fail. + // SVG is case sensitive so these should all fail. $this->assertFalse(Elements::isSvgElement(strtoupper($element)), 'SVG element test failed on: ' . strtoupper($element)); } @@ -313,15 +313,15 @@ class ElementsTest extends TestCase foreach ($this->mathmlElements as $element) { $this->assertTrue(Elements::isElement($element), 'MathML element test failed on: ' . $element); - // MathML is case sensetitive so these should all fail. + // MathML is case sensitive so these should all fail. $this->assertFalse(Elements::isElement(strtoupper($element)), 'MathML element test failed on: ' . strtoupper($element)); } foreach ($this->svgElements as $element) { $this->assertTrue(Elements::isElement($element), 'SVG element test failed on: ' . $element); - // SVG is case sensetitive so these should all fail. But, there is duplication - // html5 and SVG. Since html5 is case insensetitive we need to make sure + // SVG is case sensitive so these should all fail. But, there is duplication + // html5 and SVG. Since html5 is case insensitive we need to make sure // it's not a html5 element first. if (! in_array($element, $this->html5Elements)) { $this->assertFalse(Elements::isElement(strtoupper($element)), 'SVG element test failed on: ' . strtoupper($element)); |