mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-26 01:16:56 +01:00
12 lines
395 B
JavaScript
12 lines
395 B
JavaScript
var inspect = require('../');
|
|
var test = require('tape');
|
|
|
|
test('negative zero', function (t) {
|
|
t.equal(inspect(0), '0', 'inspect(0) === "0"');
|
|
t.equal(inspect(Object(0)), 'Object(0)', 'inspect(Object(0)) === "Object(0)"');
|
|
|
|
t.equal(inspect(-0), '-0', 'inspect(-0) === "-0"');
|
|
t.equal(inspect(Object(-0)), 'Object(-0)', 'inspect(Object(-0)) === "Object(-0)"');
|
|
|
|
t.end();
|
|
});
|