From 38908360c2091918e63d9a3b17b3571b2692a464 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 8 Mar 2017 11:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= 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 e881bc33..27e49dbb 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) ?:'test')?'yes':'no'; ?> +a) ?: 'test')?'yes':'no'; ?> EOF; $template->parse($content); $this->assertEquals($data, $content);