diff options
author | Samy Pesse <samypesse@gmail.com> | 2015-06-18 11:09:02 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2015-06-18 11:09:02 +0200 |
commit | 8356c534f5bc33da42bc27a6dd0cbca19983dc0c (patch) | |
tree | b070d2e3944d55652659e620680a47f0e873db9c /test/plugins | |
parent | 78ff2687b4fe1dc7ba2817caa9e4a8426b5ebde2 (diff) | |
download | gitbook-8356c534f5bc33da42bc27a6dd0cbca19983dc0c.zip gitbook-8356c534f5bc33da42bc27a6dd0cbca19983dc0c.tar.gz gitbook-8356c534f5bc33da42bc27a6dd0cbca19983dc0c.tar.bz2 |
Add failing tests for block's arguments
Diffstat (limited to 'test/plugins')
-rw-r--r-- | test/plugins/blocks/index.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js index 32f1910..c69801e 100644 --- a/test/plugins/blocks/index.js +++ b/test/plugins/blocks/index.js @@ -36,6 +36,11 @@ module.exports = { assert(blk.blocks[1].name, "finally"); return [blk.body, blk.blocks[0].body, blk.blocks[1].body].join(blk.kwargs.separator); } - } + }, + "test5args": { + process: function(blk) { + return "test5"+blk.args.join(',')+"test5"; + } + }, } };
\ No newline at end of file |