Skip to content

Commit b7ddbb4

Browse files
committed
Fix incorrect element names in tests
1 parent 5c5dff2 commit b7ddbb4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ public function test_json_auto_escaping() {
640640
/**
641641
* TEXTAREA elements ignore the first newline in their content.
642642
* Setting the modifiable text with a leading newline should ensure that the leading newline
643-
* is present in the resulting TEXTAREA.
643+
* is present in the resulting element.
644644
*
645645
* @ticket 64607
646646
*/
@@ -651,14 +651,14 @@ public function test_modifiable_text_special_textarea() {
651651
$this->assertSame(
652652
"\nAFTER NEWLINE",
653653
$processor->get_modifiable_text(),
654-
'Should have preserved the leading newline in the TEXTAREA content.'
654+
'Should have preserved the leading newline in the content.'
655655
);
656656
}
657657

658658
/**
659659
* PRE elements ignore the first newline in their content.
660660
* Setting the modifiable text with a leading newline should ensure that the leading newline
661-
* is present in the resulting TEXTAREA.
661+
* is present in the resulting element.
662662
*
663663
* @ticket 64607
664664
*/
@@ -677,14 +677,14 @@ public function test_modifiable_text_special_pre() {
677677
HTML,
678678
$processor->get_updated_html(),
679679
'<body>',
680-
'Should have preserved the leading newline in the TEXTAREA content.'
680+
'Should have preserved the leading newline in the content.'
681681
);
682682
}
683683

684684
/**
685685
* LISTING elements ignore the first newline in their content.
686686
* Setting the modifiable text with a leading newline should ensure that the leading newline
687-
* is present in the resulting TEXTAREA.
687+
* is present in the resulting element.
688688
*
689689
* @ticket 64607
690690
*/
@@ -703,7 +703,7 @@ public function test_modifiable_text_special_listing() {
703703
HTML,
704704
$processor->get_updated_html(),
705705
'<body>',
706-
'Should have preserved the leading newline in the TEXTAREA content.'
706+
'Should have preserved the leading newline in the content.'
707707
);
708708
}
709709
}

0 commit comments

Comments
 (0)