summaryrefslogtreecommitdiffstats
path: root/spec/parser.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-07-13 07:24:52 -0500
committerkpdecker <kpdecker@gmail.com>2014-08-12 14:41:58 -0500
commit60701790099d3c4b30c32d498b05c46fa323df30 (patch)
tree0edb2f46fbd9aa0016b3d6b61721a9db7ce92974 /spec/parser.js
parent4a4dcf16578f28bff42d755da5ece94188f75ba5 (diff)
downloadhandlebars.js-60701790099d3c4b30c32d498b05c46fa323df30.zip
handlebars.js-60701790099d3c4b30c32d498b05c46fa323df30.tar.gz
handlebars.js-60701790099d3c4b30c32d498b05c46fa323df30.tar.bz2
Track root status in ProgramNode constructor
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 ebde171..ff12cc4 100644
--- a/spec/parser.js
+++ b/spec/parser.js
@@ -184,7 +184,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")])), "CONTENT[ \'Hello\' ]\n");
+ equals(ast_for(new Handlebars.AST.ProgramNode(false, [ new Handlebars.AST.ContentNode("Hello")])), "CONTENT[ \'Hello\' ]\n");
});
});
});