Changeset 38592 for trunk/tests/phpunit/tests/formatting/Autop.php
- Timestamp:
- 09/12/2016 07:05:28 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/Autop.php
r33955 r38592 525 525 } 526 526 527 528 /** 529 * @ticket 4857 530 */ 531 function test_that_text_before_blocks_is_peed() { 532 $content = 'a<div>b</div>'; 533 $expected = "<p>a</p>\n<div>b</div>"; 534 535 $this->assertEquals( $expected, trim( wpautop( $content ) ) ); 536 } 527 537 }
Note: See TracChangeset
for help on using the changeset viewer.