Skip to content

Commit

Permalink
Expand default test class.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Sep 2, 2024
1 parent 5ece7b5 commit 89ac260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/tests/html-api/wpHtmlTagProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2241,7 +2241,7 @@ public function test_class_list_visits_unique_class_names_only_once() {
*
* @ticket 61531
*
* @covers ::class_list
* @covers WP_HTML_Tag_Processor::class_list
*/
public function test_class_list_null_bytes_replaced() {
$processor = new WP_HTML_Tag_Processor( "<div class='a \0 b\0 \0c\0'>" );
Expand All @@ -2257,7 +2257,7 @@ public function test_class_list_null_bytes_replaced() {
*
* @ticket 61531
*
* @covers ::has_class
* @covers WP_HTML_Tag_Processor::has_class
*/
public function test_has_class_null_byte_class_name() {
$processor = new WP_HTML_Tag_Processor( "<div class='null-byte-\0-there'>" );
Expand Down

0 comments on commit 89ac260

Please sign in to comment.