Commit Graph
10 Commits
Author SHA1 Message Date
Justin Hileman 36ac3710f1 Clean up pragma exception fix, add test coverage. 2012-01-15 18:29:57 -08:00
Justin Hileman 25253b3c00 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.
2011-03-05 11:49:43 -05:00
Justin Hileman 943aa8849a Add test groups for easier test breakdown. 2010-11-24 03:36:23 -05:00
Justin Hileman b096cb108d fix for PHPUnit 3.5.0 - no longer including PHPUnit/Framework.php in tests. 2010-06-22 07:13:17 -04:00
Justin Hileman 2fc242a6ae Added test case for resetting pragmas when reusing a single Mustache instance to render multiple templates. 2010-05-22 22:51:26 -04:00
Justin Hileman c53963f4af Merge branch 'dev' into feature/test-coverage
Conflicts:
	test/MustachePragmaTest.php
2010-04-30 11:18:50 -04:00
Justin Hileman 37cf2706a9 Allow whitespace in pragma tags. 2010-04-30 00:15:17 -04:00
Justin Hileman cbfef47de0 Fixed assert param order in pragma test suite. 2010-04-29 23:50:41 -04:00
Justin Hileman e962cbac8c Cleaned up UNKNOWN PRAGMA exception test. 2010-04-29 19:24:44 -04:00
Justin Hileman 537ebc44c8 Initial work adding pragma detection to Mustache.php
Currently stores pragmas and options, but does nothing with them. Also throws exceptions when it encounters unknown pragmas.
Test coverage only for exceptions and pragma tag removal.
2010-04-28 21:51:54 -04:00