Tests/OutputhtmlTest.php : html code is now indented

This commit is contained in:
2022-06-14 16:48:02 +02:00
parent 5f0fdd951f
commit 72b3251b1e

View File

@@ -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",