Add an inverted section test to base test case.
This commit is contained in:
@@ -30,6 +30,14 @@ class MustacheExceptionTest extends PHPUnit_Framework_TestCase {
|
||||
$this->pickyMustache->render('{{#unclosed}}');
|
||||
}
|
||||
|
||||
/**
|
||||
* @group sections
|
||||
* @expectedException MustacheException
|
||||
*/
|
||||
public function testThrowsUnclosedInvertedSectionException() {
|
||||
$this->pickyMustache->render('{{^unclosed}}');
|
||||
}
|
||||
|
||||
/**
|
||||
* @group sections
|
||||
* @expectedException MustacheException
|
||||
|
||||
Reference in New Issue
Block a user