Tests: Fix a failing test after [43879].

See #45290.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43881 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2018-11-09 08:55:50 +00:00
parent cbc780e3c8
commit e2c2c1bd25

View File

@ -75,7 +75,7 @@ class WP_Test_Block_Render extends WP_UnitTestCase {
// Block rendering add some extra blank lines, but we're not worried about them.
$block_filtered_content = preg_replace( "/\n{2,}/", "\n", $block_filtered_content );
$this->assertEquals( $classic_filtered_content, $block_filtered_content );
$this->assertEquals( trim( $classic_filtered_content ), trim( $block_filtered_content ) );
}
function handle_shortcode( $atts, $content ) {