summaryrefslogtreecommitdiffstats
path: root/spec/parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/parser.js')
-rw-r--r--spec/parser.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/parser.js b/spec/parser.js
index 5b6dc8a..097bb15 100644
--- a/spec/parser.js
+++ b/spec/parser.js
@@ -157,6 +157,10 @@ describe('parser', function() {
shouldThrow(function() {
ast_for("{{#goodbyes}}{{/hellos}}");
}, Error, /goodbyes doesn't match hellos/);
+
+ shouldThrow(function() {
+ ast_for("{{{{goodbyes}}}} {{{{/hellos}}}}");
+ }, Error, /goodbyes doesn't match hellos/);
});
it('knows how to report the correct line number in errors', function() {