1
0
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:
Emanuil 2013-08-31 20:11:48 +03:00
parent 8ac52a2f30
commit 097ec5e8a5

View File

@ -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);
}