diff --git a/tests/phpunit/tests/blocks/renderCommentTemplate.php b/tests/phpunit/tests/blocks/renderCommentTemplate.php index 5bfcd76487..38c1d03667 100644 --- a/tests/phpunit/tests/blocks/renderCommentTemplate.php +++ b/tests/phpunit/tests/blocks/renderCommentTemplate.php @@ -333,7 +333,7 @@ class Tests_Blocks_RenderReusableCommentTemplate extends WP_UnitTestCase { $top_level_ids = self::$comment_ids; $expected = str_replace( - array( "\n", "\t" ), + array( "\r\n", "\n", "\t" ), '', << @@ -387,7 +387,7 @@ END $this->assertSame( $expected, - str_replace( array( "\n", "\t" ), '', $block->render() ) + str_replace( array( "\r\n", "\n", "\t" ), '', $block->render() ) ); }