From a398c7548d0c806e22220707621e0ccff3e77766 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 30 Oct 2022 21:43:29 +0900 Subject: [PATCH] Test more complex syntaxes using some of the filter tests --- tests/unit/classes/TemplateHandlerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/classes/TemplateHandlerTest.php b/tests/unit/classes/TemplateHandlerTest.php index 1bde836c5..7a6a8f3e8 100644 --- a/tests/unit/classes/TemplateHandlerTest.php +++ b/tests/unit/classes/TemplateHandlerTest.php @@ -424,8 +424,8 @@ class TemplateHandlerTest extends \Codeception\TestCase\Test '?>

foo, \'2\') ?>

' ), array( - '

{$foo|shorten}

', - '?>

foo) ?>

' + '

{$foo->$bar|shorten}

', + '?>

foo->{$__Context->bar}) ?>

' ), array( '

{$foo|shorten:2}

', @@ -436,8 +436,8 @@ class TemplateHandlerTest extends \Codeception\TestCase\Test '?>

foo), \'His\') ?>

' ), array( - '

{$foo|link}

', - '?>

foo . \'">\' . $__Context->foo . \'\' ?>

' + '

{$foo[$bar]|link}

', + '?>

foo[$__Context->bar] . \'">\' . $__Context->foo[$__Context->bar] . \'\' ?>

' ), array( '

{$foo|link:http://www.rhymix.org}

',