Update statement node ASTs

This commit is contained in:
kpdecker
2014-11-26 12:46:38 -06:00
parent 5cfe6a0be1
commit 2a4819d75c
10 changed files with 179 additions and 199 deletions
+2
View File
@@ -82,6 +82,8 @@ describe('parser', function() {
it('parses a partial', function() {
equals(ast_for("{{> foo }}"), "{{> PARTIAL:foo }}\n");
equals(ast_for("{{> 'foo' }}"), "{{> PARTIAL:foo }}\n");
equals(ast_for("{{> 1 }}"), "{{> PARTIAL:1 }}\n");
});
it('parses a partial with context', function() {