diff options
author | kpdecker <kpdecker@gmail.com> | 2014-11-28 14:42:24 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2014-11-28 14:42:24 -0600 |
commit | 6a7a8c803d48b8a5768d00e8d1c73cf5012106d2 (patch) | |
tree | 76a5321dccc9ae730d7dec606cacd29bf9aa44bb /spec/parser.js | |
parent | f990cf006422fbcbbae7d8a8a866831e58300ea4 (diff) | |
download | handlebars.js-6a7a8c803d48b8a5768d00e8d1c73cf5012106d2.zip handlebars.js-6a7a8c803d48b8a5768d00e8d1c73cf5012106d2.tar.gz handlebars.js-6a7a8c803d48b8a5768d00e8d1c73cf5012106d2.tar.bz2 |
Rename AST objects to match type names
Diffstat (limited to 'spec/parser.js')
-rw-r--r-- | spec/parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/parser.js b/spec/parser.js index b25f222..ad52734 100644 --- a/spec/parser.js +++ b/spec/parser.js @@ -203,7 +203,7 @@ describe('parser', function() { describe('externally compiled AST', function() { it('can pass through an already-compiled AST', function() { - equals(ast_for(new Handlebars.AST.ProgramNode([new Handlebars.AST.ContentNode("Hello")], null)), "CONTENT[ \'Hello\' ]\n"); + equals(ast_for(new Handlebars.AST.Program([new Handlebars.AST.ContentStatement("Hello")], null)), "CONTENT[ \'Hello\' ]\n"); }); }); }); |