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);