Skip to content

Commit

Permalink
Tests_Import_Parser::test_blank_lines_in_content(): minor test fix (#169
Browse files Browse the repository at this point in the history
)

Co-authored-by: jrfnl <[email protected]>
  • Loading branch information
jrfnl and jrfnl authored Oct 1, 2024
1 parent 08aa7f4 commit c569384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/tests/parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

Expand Down

0 comments on commit c569384

Please sign in to comment.