Tests/OutputhtmlTest.php : html code is now indented
This commit is contained in:
@@ -37,10 +37,12 @@ class OutputhtmlTest extends \PHPUnit_Framework_TestCase
|
||||
public function testlayout4 ()
|
||||
{
|
||||
$this->expectOutputString("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">
|
||||
<html><body>
|
||||
<html>
|
||||
<body>
|
||||
Text
|
||||
"." "."
|
||||
</body></html>\n");
|
||||
</body>
|
||||
</html>\n");
|
||||
$output = new Outputhtml ();
|
||||
$output->out ("data", "title", FALSE, FALSE, "Tests/layout.html" );
|
||||
}
|
||||
@@ -48,10 +50,12 @@ class OutputhtmlTest extends \PHPUnit_Framework_TestCase
|
||||
public function testlayout5 ()
|
||||
{
|
||||
$this->expectOutputString("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">
|
||||
<html><body>
|
||||
<html>
|
||||
<body>
|
||||
Text
|
||||
VARIABLE
|
||||
</body></html>\n");
|
||||
</body>
|
||||
</html>\n");
|
||||
$output = new Outputhtml ();
|
||||
$variable = array ("var"=>"VARIABLE");
|
||||
$output->out ("data", "title", FALSE, FALSE, "Tests/layout.html",
|
||||
|
||||
Reference in New Issue
Block a user