mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Add a test for comments
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9268 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a7be519581
commit
2825f57457
1 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,11 @@ class TemplateHandlerTest extends PHPUnit_Framework_TestCase
|
|||
'<dummy /><load target="css/style.css" /><dummy />',
|
||||
'<dummy /><!--#Meta:tests/classes/template/css/style.css--><?php $__tmp=array(\'tests/classes/template/css/style.css\',\'\',\'\',\'\',\'\',\'\',\'\');Context::loadFile($__tmp);unset($__tmp); ?><dummy />'
|
||||
),
|
||||
// comment
|
||||
array(
|
||||
'<dummy_before /><!--// this is a comment--><dummy_after />',
|
||||
'<dummy_before /><dummy_after />'
|
||||
),
|
||||
// error case
|
||||
array(
|
||||
'<a href="{$layout_info->index_url}" cond="$layout_info->logo_image"><img src="{$layout_info->logo_image}" alt="logo" border="0" class="iePngFix" /></a>',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue