Changeset 52010 for trunk/tests/phpunit/tests/formatting/cleanPre.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/cleanPre.php
r51623 r52010 10 10 class Tests_Formatting_CleanPre extends WP_UnitTestCase { 11 11 12 function test_removes_self_closing_br_with_space() {12 public function test_removes_self_closing_br_with_space() { 13 13 $source = 'a b c\n<br />sldfj<br />'; 14 14 $res = 'a b c\nsldfj'; … … 17 17 } 18 18 19 function test_removes_self_closing_br_without_space() {19 public function test_removes_self_closing_br_without_space() { 20 20 $source = 'a b c\n<br/>sldfj<br/>'; 21 21 $res = 'a b c\nsldfj'; … … 27 27 // that replacement shouldn't happen (what if you want 28 28 // HTML 4 output?). 29 function test_removes_html_br() {29 public function test_removes_html_br() { 30 30 $source = 'a b c\n<br>sldfj<br>'; 31 31 $res = 'a b c\nsldfj'; … … 33 33 } 34 34 35 function test_removes_p() {35 public function test_removes_p() { 36 36 $source = "<p>isn't this exciting!</p><p>oh indeed!</p>"; 37 37 $res = "\nisn't this exciting!\noh indeed!";
Note: See TracChangeset
for help on using the changeset viewer.