diff --git a/.gitignore b/.gitignore index 723ef36f..17a3431d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +/composer.lock +/vendor .idea \ No newline at end of file diff --git a/tests/thinkphp/library/think/template/taglib/cxTest.php b/tests/thinkphp/library/think/template/taglib/cxTest.php index e40d3de4..34f296a6 100644 --- a/tests/thinkphp/library/think/template/taglib/cxTest.php +++ b/tests/thinkphp/library/think/template/taglib/cxTest.php @@ -47,7 +47,7 @@ EOF; {/volist} EOF; $data = <<\$vo): \$mod = (\$key % 2 );++\$key;?> +\$vo): \$mod = (\$key % 2 );++\$key;?> EOF; @@ -88,9 +88,9 @@ EOF; {/foreach} EOF; $data = <<\$val): ?> +\$val): ?> - + EOF; $cx->parseTag($content); $this->assertEquals($content, $data); @@ -389,7 +389,7 @@ default {/empty} EOF; $data = << +isEmpty())): ?> default EOF; @@ -402,7 +402,7 @@ default {/notempty} EOF; $data = << +isEmpty()))): ?> default EOF;