Ticket #27350: 27350.diff
File 27350.diff, 555 bytes (added by , 10 years ago) |
---|
-
tests/phpunit/tests/formatting/Autop.php
400 400 401 401 $this->assertEquals( $expected, trim( wpautop( $content ) ) ); 402 402 } 403 404 /** 405 * @ticket 27350 406 */ 407 function test_wpautop_div_with_pre() { 408 $input = "hello<div>test</div>"; 409 $expected = '<p>hello</p> 410 <div>test</div>'; 411 412 $this->assertEquals( $expected, wpautop( $input ) ); 413 } 414 403 415 }