diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-02-09 17:50:28 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-12-22 11:46:18 +0100 |
commit | d59c9e2be10b807b0d3e4bf16cada0e456fa73e7 (patch) | |
tree | 43d22ee6bd46badfda5f43ef17b5c58d975d0ca9 /packages/gitbook-asciidoc/test/helper.js | |
parent | 3530e504ba1714b4179719242ade88d8b89e9081 (diff) | |
download | gitbook-d59c9e2be10b807b0d3e4bf16cada0e456fa73e7.zip gitbook-d59c9e2be10b807b0d3e4bf16cada0e456fa73e7.tar.gz gitbook-d59c9e2be10b807b0d3e4bf16cada0e456fa73e7.tar.bz2 |
Add tests for toText methods
Diffstat (limited to 'packages/gitbook-asciidoc/test/helper.js')
-rw-r--r-- | packages/gitbook-asciidoc/test/helper.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/gitbook-asciidoc/test/helper.js b/packages/gitbook-asciidoc/test/helper.js new file mode 100644 index 0000000..1e310f7 --- /dev/null +++ b/packages/gitbook-asciidoc/test/helper.js @@ -0,0 +1,6 @@ +var assert = require("assert"); + +global.assertObjectsEqual = function(o1, o2) { + assert.equal(JSON.stringify(o1, null, 4), JSON.stringify(o2, null, 4)); +}; + |