DOT-NOTATION and IMPLICIT-ITERATOR are now part of core spec.
These pragmas have proved useful enough that they're no longer considered pragmas. Enable them by default. Update tests accordingly. This is a (very) backwards incompatible change, so it won't be released until v0.6.0.
This commit is contained in:
@@ -104,11 +104,11 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
|
||||
array(
|
||||
'charset' => 'cp866',
|
||||
'delimiters' => array('[[[[', ']]]]'),
|
||||
'pragmas' => array(Mustache::PRAGMA_DOT_NOTATION, Mustache::PRAGMA_IMPLICIT_ITERATOR)
|
||||
'pragmas' => array(Mustache::PRAGMA_UNESCAPED)
|
||||
),
|
||||
'cp866',
|
||||
array('[[[[', ']]]]'),
|
||||
array(Mustache::PRAGMA_DOT_NOTATION, Mustache::PRAGMA_IMPLICIT_ITERATOR),
|
||||
array(Mustache::PRAGMA_UNESCAPED),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user