From c635c2caf1013c53177f64e54519fe136a34d15f Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 8 Mar 2017 11:02:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/thinkphp/library/think/templateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/thinkphp/library/think/templateTest.php b/tests/thinkphp/library/think/templateTest.php index 49c0eb39..e881bc33 100644 --- a/tests/thinkphp/library/think/templateTest.php +++ b/tests/thinkphp/library/think/templateTest.php @@ -240,7 +240,7 @@ EOF; <#\$info.a|default='test'?'yes':'no'#> EOF; $data = <<a) !== ''?(is_array(\$info)?\$info['a']:\$info->a):'test')?'yes':'no'; ?> +a) ?:'test')?'yes':'no'; ?> EOF; $template->parse($content); $this->assertEquals($data, $content);