@@ -158,6 +158,16 @@ class Mustache_Test_EngineTest extends Mustache_Test_FunctionalTestCase
|
||||
$this->assertNotSame($mustache->getCache(), $mustache->getProtectedLambdaCache());
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Mustache_Exception_InvalidArgumentException
|
||||
*/
|
||||
public function testEmptyTemplatePrefixThrowsException()
|
||||
{
|
||||
new Mustache_Engine(array(
|
||||
'template_class_prefix' => '',
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Mustache_Exception_InvalidArgumentException
|
||||
* @dataProvider getBadEscapers
|
||||
|
||||
Reference in New Issue
Block a user