Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -73,7 +73,7 @@ class test_cachefile extends PHPUnit_Framework_TestCase
|
||||
$this->assertEquals ("DATA_TO_STORE", $res);
|
||||
}
|
||||
|
||||
public function testDel1 ()
|
||||
public function testDel1 ()
|
||||
{
|
||||
$c = new cachefile ();
|
||||
$res = $c->delete ("id");
|
||||
|
||||
@@ -185,7 +185,7 @@ class test_markdown extends PHPUnit_Framework_TestCase
|
||||
</ul>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("* line1
|
||||
end
|
||||
end
|
||||
* line2
|
||||
end"));
|
||||
}
|
||||
@@ -244,21 +244,24 @@ base</code></pre>");
|
||||
// Links
|
||||
public function testLinkHTTP1 ()
|
||||
{
|
||||
$this->expectOutputString("<p><a href='http://example.com'>http://example.com</a></p>");
|
||||
$this->expectOutputString(
|
||||
"<p><a href='http://example.com'>http://example.com</a></p>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("<http://example.com>"));
|
||||
}
|
||||
|
||||
public function testLinkHTTP2 ()
|
||||
{
|
||||
$this->expectOutputString("<p><a href='https://example.com'>https://example.com</a></p>");
|
||||
$this->expectOutputString(
|
||||
"<p><a href='https://example.com'>https://example.com</a></p>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("<https://example.com>"));
|
||||
}
|
||||
|
||||
public function testLinkHTTP3 ()
|
||||
{
|
||||
$this->expectOutputString("<p><a href='mailto://test@example.com'>test@example.com</a></p>");
|
||||
$this->expectOutputString(
|
||||
"<p><a href='mailto://test@example.com'>test@example.com</a></p>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("<test@example.com>"));
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ class test_outputjson extends PHPUnit_Framework_TestCase
|
||||
$this->expectOutputString("\"\"");
|
||||
$output = new outputjson ();
|
||||
$output->out ("");
|
||||
}
|
||||
}
|
||||
|
||||
/** Entry string */
|
||||
public function testoutputjson2 ()
|
||||
|
||||
Reference in New Issue
Block a user