summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2015-06-18 10:54:55 -0400
committerAsmir Mustafic <[email protected]>2018-11-23 09:26:54 +0100
commitc9b90792d47974e2b7fb2e4f3509e5fb1143e9f7 (patch)
treefb5c13182f684656b96ef3a06ca797e158124f40 /test
parent8dca125a4c05b20d906058b165cf9782cb45d4fa (diff)
The element mask is 0 rather than false if element not fount.
Diffstat (limited to 'test')
-rw-r--r--test/HTML5/ElementsTest.php2
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));
}
}