Skip to content

Commit eba45bc

Browse files
committed
Update HTML processor semantic rules
1 parent 7d9e353 commit eba45bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/html-api/wpHtmlProcessorSemanticRules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function test_br_end_tag_unsupported() {
422422

423423
$this->assertTrue( $processor->next_tag(), 'Failed to find the expected opening BR tag.' );
424424
$this->assertFalse( $processor->is_tag_closer(), 'Should have treated the tag as an opening tag.' );
425-
$this->assertNull( $processor->get_attribute_names_with_prefix( '' ), 'Should have ignored any attributes on the tag.' );
425+
$this->assertSame( array(), $processor->get_attribute_names_with_prefix( '' ), 'Should have returned an empty array of attribute names.' );
426426
}
427427

428428
/*******************************************************************

0 commit comments

Comments
 (0)