summaryrefslogtreecommitdiffstats
path: root/spec/partials.js
diff options
context:
space:
mode:
authorKevin Decker <kpdecker@gmail.com>2015-10-19 12:01:39 -0500
committerKevin Decker <kpdecker@gmail.com>2015-10-19 12:01:39 -0500
commitd20f02d10de92ac6d784911baf3c84959161449d (patch)
tree376d85eb7e46244b12ecc671fb2d25288efaeade /spec/partials.js
parent9365b8290070f34bf797c836aed4335ce6a4094f (diff)
parent33b53ef9893938ac2d38b78f548d8bc13642215c (diff)
downloadhandlebars.js-d20f02d10de92ac6d784911baf3c84959161449d.zip
handlebars.js-d20f02d10de92ac6d784911baf3c84959161449d.tar.gz
handlebars.js-d20f02d10de92ac6d784911baf3c84959161449d.tar.bz2
Merge pull request #1121 from shinypb/undefined_partial_error_message
Include partial name in 'undefined partial' exception message
Diffstat (limited to 'spec/partials.js')
-rw-r--r--spec/partials.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/partials.js b/spec/partials.js
index cc2c266..d3ead74 100644
--- a/spec/partials.js
+++ b/spec/partials.js
@@ -103,7 +103,7 @@ describe('partials', function() {
shouldThrow(function() {
var undef;
handlebarsEnv.registerPartial('undefined_test', undef);
- }, Handlebars.Exception, 'Attempting to register a partial as undefined');
+ }, Handlebars.Exception, 'Attempting to register a partial called "undefined_test" as undefined');
});
it('rendering template partial in vm mode throws an exception', function() {