Add markdown tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1788 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -294,4 +294,18 @@ base</code></pre>");
|
|||||||
* line2
|
* line2
|
||||||
end"));
|
end"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testUnderscore ()
|
||||||
|
{
|
||||||
|
$this->expectOutputString("<p><em>file1.php</em> or <em>file2.php</em></p>");
|
||||||
|
$md = new markdown ();
|
||||||
|
printf ($md->html ("_file1.php_ or _file2.php_"));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testCarriageReturn1 ()
|
||||||
|
{
|
||||||
|
$this->expectOutputString("<p>line1 line2</p>");
|
||||||
|
$md = new markdown ();
|
||||||
|
printf ($md->html ("line1\nline2\n"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user