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:
Justin Hileman
2011-03-05 11:49:43 -05:00
parent f0861da000
commit 25253b3c00
7 changed files with 15 additions and 217 deletions
+2 -2
View File
@@ -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),
),
);
}