mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
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:
parent
cbc780e3c8
commit
e2c2c1bd25
@ -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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user