v5
This commit is contained in:
8
node_modules/object-inspect/test/inspect.js
generated
vendored
Normal file
8
node_modules/object-inspect/test/inspect.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var inspect = require('../');
|
||||
var test = require('tape');
|
||||
|
||||
test('inspect', function (t) {
|
||||
t.plan(1);
|
||||
var obj = [ { inspect: function () { return '!XYZ¡' } }, [] ];
|
||||
t.equal(inspect(obj), '[ !XYZ¡, [] ]');
|
||||
});
|
||||
Reference in New Issue
Block a user