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:
parent
dfacf7a71a
commit
7d3af6bf83
@ -20,9 +20,10 @@ class CommonMarkTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
function test_($section, $markdown, $expectedHtml)
|
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);
|
$actualHtml = $this->normalizeMarkup($actualHtml);
|
||||||
|
|
||||||
$this->assertEquals($expectedHtml, $actualHtml);
|
$this->assertEquals($expectedHtml, $actualHtml);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user