From ec8a288ad752ab19fe3dcd392d5287eccb6da9d9 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Thu, 2 May 2013 08:49:06 -0500 Subject: Changed constants from UNARY_TAG to VOID_TAG to follow spec. --- test/HTML5/ElementsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/HTML5/ElementsTest.php') diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php index df8d336..b6c945b 100644 --- a/test/HTML5/ElementsTest.php +++ b/test/HTML5/ElementsTest.php @@ -343,12 +343,12 @@ class ElementsTest extends TestCase { ); foreach ($unaryElements as $element) { - $this->assertTrue(Elements::isA($element, Elements::UNARY_TAG), 'Unary test failed on: ' . $element); + $this->assertTrue(Elements::isA($element, Elements::VOID_TAG), 'Unary test failed on: ' . $element); } $nonUnary = array('span', 'a', 'div'); foreach ($nonUnary as $tag) { - $this->assertFalse(Elements::isA($tag, Elements::UNARY_TAG), 'Unary test failed on: ' . $tag); + $this->assertFalse(Elements::isA($tag, Elements::VOID_TAG), 'Unary test failed on: ' . $tag); } -- cgit v1.2.3