mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
13 lines
395 B
JavaScript
13 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();
|
||
|
});
|