From e3c82a8f06d867a5dedc4c959e71207c9d11d666 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Sat, 23 May 2015 18:48:27 +0200 Subject: [PATCH] Test long comment --- tests/UnitTests/TemplateSource/Comments/CommentsTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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)); + } }