mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
test case should deal with \r characters
This commit is contained in:
parent
8ac52a2f30
commit
097ec5e8a5
@ -34,6 +34,8 @@ class Test extends PHPUnit_Framework_TestCase
|
||||
continue;
|
||||
|
||||
$expected_markup = file_get_contents(__DIR__ . '/' . self::provider_dir . $basename . '.html');
|
||||
$expected_markup = str_replace("\r\n", "\n", $expected_markup);
|
||||
$expected_markup = str_replace("\r", "\n", $expected_markup);
|
||||
|
||||
$provider [] = array($markdown, $expected_markup);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user