diff options
Diffstat (limited to 'school/node_modules/object-inspect/test/deep.js')
-rw-r--r-- | school/node_modules/object-inspect/test/deep.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/school/node_modules/object-inspect/test/deep.js b/school/node_modules/object-inspect/test/deep.js deleted file mode 100644 index 99ce32a..0000000 --- a/school/node_modules/object-inspect/test/deep.js +++ /dev/null @@ -1,12 +0,0 @@ -var inspect = require('../'); -var test = require('tape'); - -test('deep', function (t) { - t.plan(4); - var obj = [[[[[[500]]]]]]; - t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]'); - t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]'); - t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]'); - - t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]'); -}); |