Skip to content

Commit

Permalink
Make the kwality 110% butter
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Sep 20, 2024
1 parent 95756e5 commit fca6481
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/phpunit/tests/html-api/wpHtmlProcessor-serialize.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function test_void_elements_get_no_dangerous_self_closing_flag() {
*/
public function test_duplicate_attributes_are_removed() {
$this->assertSame(
WP_HTML_Processor::normalize( '<div one=1 one="one" one=\'won\' one>'),
WP_HTML_Processor::normalize( '<div one=1 one="one" one=\'won\' one>' ),
'<div one="1"></div>',
'Should have removed all but the first copy of an attribute when duplicates exist.'
);
Expand Down Expand Up @@ -249,4 +249,3 @@ public function data_bogus_comments() {
);
}
}

0 comments on commit fca6481

Please sign in to comment.