update commonmark test

This commit is contained in:
Emanuil Rusev 2015-01-09 00:08:14 +02:00
parent dfacf7a71a
commit 7d3af6bf83
1 changed files with 3 additions and 2 deletions

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