Add a failing test case for #294

This commit is contained in:
Justin Hileman
2016-05-18 22:43:41 -07:00
parent 1de7898200
commit 21d553fc02
@@ -84,6 +84,15 @@ class Mustache_Test_Functional_InheritanceTest extends PHPUnit_Framework_TestCas
'{{<foo}}set by template{{$baz}}also set by template{{/baz}}{{/foo}}', '{{<foo}}set by template{{$baz}}also set by template{{/baz}}{{/foo}}',
'also set by template', 'also set by template',
), ),
array(
array(
'foo' => '{{$a}}FAIL!{{/a}}',
'bar' => 'WIN!!',
),
array(),
'{{<foo}}{{$a}}{{<bar}}FAIL{{/bar}}{{/a}}{{/foo}}',
'WIN!!',
),
); );
} }