diff --git a/tests/UnitTests/TemplateSource/Comments/CommentsTest.php b/tests/UnitTests/TemplateSource/Comments/CommentsTest.php index b26b9d7d..75d1479e 100644 --- a/tests/UnitTests/TemplateSource/Comments/CommentsTest.php +++ b/tests/UnitTests/TemplateSource/Comments/CommentsTest.php @@ -82,4 +82,9 @@ class CommentsTest extends PHPUnit_Smarty $tpl = $this->smarty->createTemplate("eval:I{* multi \nline *}\nJ"); $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)); + } }