diff options
author | machty <machty@gmail.com> | 2013-02-06 17:51:47 -0500 |
---|---|---|
committer | machty <machty@gmail.com> | 2013-02-07 02:06:17 -0500 |
commit | a48e32bbf6e1c4cf1b22dc61aca7ee6e7448d46c (patch) | |
tree | ef9e5ff18efc96dd0209837cbf72901893d9533f /spec/qunit_spec.js | |
parent | 448e43c41eaec473f3c6a27ad3a833a41f83f996 (diff) | |
download | handlebars.js-a48e32bbf6e1c4cf1b22dc61aca7ee6e7448d46c.zip handlebars.js-a48e32bbf6e1c4cf1b22dc61aca7ee6e7448d46c.tar.gz handlebars.js-a48e32bbf6e1c4cf1b22dc61aca7ee6e7448d46c.tar.bz2 |
Handlebars.parse/precompile/compile can now be passed an already-compiled Handlebars AST.
Diffstat (limited to 'spec/qunit_spec.js')
-rw-r--r-- | spec/qunit_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/qunit_spec.js b/spec/qunit_spec.js index 10b7424..fa15c3c 100644 --- a/spec/qunit_spec.js +++ b/spec/qunit_spec.js @@ -1354,7 +1354,7 @@ test("bug reported by @fat where lambdas weren't being properly resolved", funct test("Passing falsy values to Handlebars.compile throws an error", function() { shouldThrow(function() { CompilerContext.compile(null); - }, "You must pass a string to Handlebars.compile. You passed null"); + }, "You must pass a string or Handlebars AST to Handlebars.compile. You passed null"); }); test('GH-408: Multiple loops fail', function() { |