diff --git a/Tests/markdownTest.php b/Tests/markdownTest.php
index 03bdccb..76403d2 100644
--- a/Tests/markdownTest.php
+++ b/Tests/markdownTest.php
@@ -162,9 +162,9 @@ class test_markdown extends PHPUnit_Framework_TestCase
public function testUnnumbered1 ()
{
$this->expectOutputString("
-- Case1
-- Case2
-- Case3
+ - Case1
+ - Case2
+ - Case3
");
$md = new markdown ();
printf ($md->html ("* Case1\n* Case2\n* Case3"), TRUE);
@@ -173,9 +173,9 @@ class test_markdown extends PHPUnit_Framework_TestCase
public function testUnnumbered2 ()
{
$this->expectOutputString("
-- Case1
-- Case2
-- Case3
+ - Case1
+ - Case2
+ - Case3
");
$md = new markdown ();
printf ($md->html ("- Case1\n- Case2\n- Case3"), TRUE);
@@ -184,9 +184,9 @@ class test_markdown extends PHPUnit_Framework_TestCase
public function testUnnumbered3 ()
{
$this->expectOutputString("
-- Case1
-- Case2
-- Case3
+ - Case1
+ - Case2
+ - Case3
");
$md = new markdown ();
printf ($md->html ("+ Case1\n+ Case2\n+ Case3"), TRUE);
@@ -195,8 +195,8 @@ class test_markdown extends PHPUnit_Framework_TestCase
public function testUnnumberredMultiline1 ()
{
$this->expectOutputString("
-- line1 end
-- line2 end
+ - line1 end
+ - line2 end
");
$md = new markdown ();
printf ($md->html ("* line1
@@ -208,13 +208,14 @@ end"));
public function testUnnumberedListMultiple1 ()
{
$this->expectOutputString("
-- line1
-- line2
+
- line1
+ - line2
- - NEW lineA
- - NEW lineB
-
-- line3
+ - NEW lineA
+ - NEW lineB
+
+
+ line3
");
$md = new markdown ();
printf ($md->html ("* line1
@@ -228,9 +229,9 @@ end"));
public function testNumbered1 ()
{
$this->expectOutputString("
-- Case1
-- Case2
-- Case3
+ - Case1
+ - Case2
+ - Case3
");
$md = new markdown ();
printf ($md->html ("1. Case1\n2. Case2\n3. Case3"), TRUE);
@@ -239,7 +240,7 @@ end"));
// Code
public function testCode1 ()
{
- $this->expectOutputString(" test
+ $this->expectOutputString("test
indent
base
");
$md = new markdown ();
@@ -291,7 +292,7 @@ base
");
public function testChainCode1 ()
{
- $this->expectOutputString("
+ $this->expectOutputString("
* OK
");
$md = new markdown ();
printf ($md->html (" \n * OK"));
@@ -299,9 +300,10 @@ base
");
public function testUnnumberredAndText1 ()
{
- $this->expectOutputString("Hi
-- line1
-- line2 end
+ $this->expectOutputString("Hi
+");
$md = new markdown ();
printf ($md->html ("Hi