Throw inheritance behind a BLOCKS pragma.

Update tests, known pragmas, and parsing.
This commit is contained in:
Justin Hileman
2014-06-26 23:31:41 -07:00
parent dd53137ae1
commit 349b58b8ca
4 changed files with 94 additions and 6 deletions
@@ -11,7 +11,9 @@ class Mustache_Test_Functional_InheritanceTest extends PHPUnit_Framework_TestCas
public function setUp()
{
$this->mustache = new Mustache_Engine;
$this->mustache = new Mustache_Engine(array(
'pragmas' => array(Mustache_Engine::PRAGMA_BLOCKS),
));
}
public function getIllegalInheritanceExamples()