Skip to content

Commit

Permalink
added a test that uses directly the Sundown extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ikwattro committed Apr 18, 2012
1 parent dc6f9aa commit 2463bca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tests/Markdown/KwattroMarkdownTest.php
Expand Up @@ -66,4 +66,12 @@ public function testNoIntraEmphasis()
$expected = '<p>'.$link.'</p>'."\n"; $expected = '<p>'.$link.'</p>'."\n";
$this->assertEquals($expected, $md->render($link)); $this->assertEquals($expected, $md->render($link));
} }

public function testWithBaseSundownClasses()
{
$md = new \Sundown\Markdown(\Sundown\Render\HTML,array("no_intra_emphasis"=>true));
$txt = "no_intra_emphasis";
$exp = $txt;
$this->assertEquals($exp, $md->render($txt));
}
} }

0 comments on commit 2463bca

Please sign in to comment.