From 1a11b61b735699b07d112fb67c17beb434a5069e Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Mon, 20 Nov 2017 11:26:25 +0100 Subject: [PATCH] Extend setfilter tag test --- .../TagTests/SetFilter/CompileSetfilterTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php b/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php index f0cd25fa..89b187e5 100644 --- a/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/SetFilter/CompileSetfilterTest.php @@ -42,8 +42,8 @@ class CompileSetfilterTest extends PHPUnit_Smarty $this->smarty->setCaching(1); $tpl = $this->smarty->createTemplate('string:{$foo}{setfilter htmlspecialchars} {$foo}{$foo nocache}{setfilter escape:"mail"} {$foo}{$foo nocache}{/setfilter} {$foo}{/setfilter} {$foo}'); $tpl->assign('foo', ''); - $this->assertEquals( } -" <a@b.c><e@f.d> <a@b.c> ", $this->smarty->fetch($tpl)); + $this->assertEquals(" <a@b.c><e@f.d> <a@b.c> ", $this->smarty->fetch($tpl)); + } /** * @runInSeparateProcess * @preserveGlobalState disabled