diff options
author | Matt Farina <[email protected]> | 2015-06-18 10:54:55 -0400 |
---|---|---|
committer | Asmir Mustafic <[email protected]> | 2018-11-23 09:26:54 +0100 |
commit | c9b90792d47974e2b7fb2e4f3509e5fb1143e9f7 (patch) | |
tree | fb5c13182f684656b96ef3a06ca797e158124f40 /test | |
parent | 8dca125a4c05b20d906058b165cf9782cb45d4fa (diff) |
The element mask is 0 rather than false if element not fount.
Diffstat (limited to 'test')
-rw-r--r-- | test/HTML5/ElementsTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php index f4b377a..d426aef 100644 --- a/test/HTML5/ElementsTest.php +++ b/test/HTML5/ElementsTest.php @@ -351,7 +351,7 @@ class ElementsTest extends TestCase 'baz' ); foreach ($nonhtml5 as $element) { - $this->assertFalse(Elements::element($element)); + $this->assertEquals(0, Elements::element($element)); } } |