1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

update commonmark test

This commit is contained in:
Emanuil Rusev 2015-01-09 00:08:14 +02:00
parent dfacf7a71a
commit 7d3af6bf83

View File

@ -20,9 +20,10 @@ class CommonMarkTest extends PHPUnit_Framework_TestCase
*/
function test_($section, $markdown, $expectedHtml)
{
$parsedown = new Parsedown();
$Parsedown = new Parsedown();
$Parsedown->setUrlsLinked(false);
$actualHtml = $parsedown->text($markdown);
$actualHtml = $Parsedown->text($markdown);
$actualHtml = $this->normalizeMarkup($actualHtml);
$this->assertEquals($expectedHtml, $actualHtml);