mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 00:34:12 +03:00
Add failing test for Mustache-style if
blocks
This commit is contained in:
parent
27e9e1c3b2
commit
7aad4f30e3
@ -177,6 +177,11 @@ class HandlebarsTest extends \PHPUnit_Framework_TestCase
|
||||
array('first' => false, 'second' => true),
|
||||
'The second'
|
||||
),
|
||||
array(
|
||||
'{{#value}}Hello {{value}}, from {{parent_context}}{{/value}}',
|
||||
array('value' => 'string', 'parent_context' => 'parent string'),
|
||||
'Hello string, from parent string'
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user