summaryrefslogtreecommitdiffstats
path: root/spec/parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/parser.js')
-rw-r--r--spec/parser.js2
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");
});
});
});