public testStripsCommentsFromRenderedOutput ( ) |
public function testStripsCommentsFromRenderedOutput()
{
$test = $this->mustache->render('template-with-comments', array());
$expected = <<<EOT
First line
Second line
Third line
EOT;
$this->assertEquals($expected, $test);
}