diff options
Diffstat (limited to 'node_modules/archy/test/non_unicode.js')
-rw-r--r-- | node_modules/archy/test/non_unicode.js | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/node_modules/archy/test/non_unicode.js b/node_modules/archy/test/non_unicode.js deleted file mode 100644 index 7204d3327..000000000 --- a/node_modules/archy/test/non_unicode.js +++ /dev/null @@ -1,40 +0,0 @@ -var test = require('tape'); -var archy = require('../'); - -test('beep', function (t) { - var s = archy({ - label : 'beep', - nodes : [ - 'ity', - { - label : 'boop', - nodes : [ - { - label : 'o_O', - nodes : [ - { - label : 'oh', - nodes : [ 'hello', 'puny' ] - }, - 'human' - ] - }, - 'party!' - ] - } - ] - }, '', { unicode : false }); - t.equal(s, [ - 'beep', - '+-- ity', - '`-- boop', - ' +-- o_O', - ' | +-- oh', - ' | | +-- hello', - ' | | `-- puny', - ' | `-- human', - ' `-- party!', - '' - ].join('\n')); - t.end(); -}); |