diff --git a/phpunit/tests/parser.php b/phpunit/tests/parser.php index aaede3b..ab3b2f0 100644 --- a/phpunit/tests/parser.php +++ b/phpunit/tests/parser.php @@ -236,7 +236,7 @@ function test_blank_lines_in_content() { $result = $parser->parse( $file ); // Check the number of new lines characters - $this->assertSame( 3, substr_count( $result['posts'][0]['post_content'], PHP_EOL ), $message ); + $this->assertSame( 3, substr_count( $result['posts'][0]['post_content'], "\n" ), $message ); } }