diff options
Diffstat (limited to 'test/plugins.js')
-rw-r--r-- | test/plugins.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/plugins.js b/test/plugins.js index 02b7627..e3d0c49 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -192,6 +192,13 @@ describe('Plugins', function () { content.should.equal("test5a,b,ctest5"); }); }); + + it('should correctly extend template blocks with args and kwargs', function() { + return testTpl('{% test5kwargs "a", "b", "c", d="test", e="test2" %}{% endtest5kwargs %}') + .then(function(content) { + content.should.equal("test5a,b,c,d:test,e:test2,__keywords:truetest5"); + }); + }); }); }); |