mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
dev #83
This commit is contained in:
@@ -1267,12 +1267,15 @@ class TemplateTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
public function _testSandbox()
|
||||
/**
|
||||
* @group sb
|
||||
*/
|
||||
public function testSandbox()
|
||||
{
|
||||
try {
|
||||
var_dump(
|
||||
$this->fenom->setOptions(0)->compileCode(
|
||||
"{autoescape true}{test_block_function:raw}{\$html}{/test_block_function}{/autoescape}"
|
||||
$this->fenom->compileCode(
|
||||
'{var $a = [3, 5,6]}'
|
||||
)->getBody()
|
||||
);
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user