mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Test long comment
This commit is contained in:
@@ -82,4 +82,9 @@ class CommentsTest extends PHPUnit_Smarty
|
|||||||
$tpl = $this->smarty->createTemplate("eval:I{* multi \nline *}\nJ");
|
$tpl = $this->smarty->createTemplate("eval:I{* multi \nline *}\nJ");
|
||||||
$this->assertEquals("I\nJ", $this->smarty->fetch($tpl));
|
$this->assertEquals("I\nJ", $this->smarty->fetch($tpl));
|
||||||
}
|
}
|
||||||
|
public function testTextComment5()
|
||||||
|
{
|
||||||
|
$tpl = $this->smarty->createTemplate("longcomment.tpl");
|
||||||
|
$this->assertEquals("I\nJ", $this->smarty->fetch($tpl));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user