summaryrefslogtreecommitdiffstats
path: root/spec/qunit_spec.js
diff options
context:
space:
mode:
authorRyunosuke SATO <tricknotes.rs@gmail.com>2013-02-16 20:14:38 +0900
committerRyunosuke SATO <tricknotes.rs@gmail.com>2013-02-16 20:14:38 +0900
commit261a2deb51ce5dffdbe374fa2a231c9bea108025 (patch)
treea3e60848590e2eabf7ae49fead9c3c4167ad194c /spec/qunit_spec.js
parent75a4f0d9317709e00f5c84b6b9d8cc4241f26d84 (diff)
downloadhandlebars.js-261a2deb51ce5dffdbe374fa2a231c9bea108025.zip
handlebars.js-261a2deb51ce5dffdbe374fa2a231c9bea108025.tar.gz
handlebars.js-261a2deb51ce5dffdbe374fa2a231c9bea108025.tar.bz2
Fix method name in error message
- compile -> precompile
Diffstat (limited to 'spec/qunit_spec.js')
-rw-r--r--spec/qunit_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/qunit_spec.js b/spec/qunit_spec.js
index 5953bca..db7f956 100644
--- a/spec/qunit_spec.js
+++ b/spec/qunit_spec.js
@@ -1364,7 +1364,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 or Handlebars AST to Handlebars.compile. You passed null");
+ }, "You must pass a string or Handlebars AST to Handlebars.precompile. You passed null");
});
test('GH-408: Multiple loops fail', function() {