Permalink
Browse files

added a test that uses directly the Sundown extension

  • Loading branch information...
1 parent dc6f9aa commit 2463bca40a708a69788707beb28f8288fda3505f @ikwattro committed Apr 18, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 Tests/Markdown/KwattroMarkdownTest.php
@@ -66,4 +66,12 @@ public function testNoIntraEmphasis()
$expected = '<p>'.$link.'</p>'."\n";
$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.