Show More
Commit Description:
fix wrong merge
Commit Description:
fix wrong merge
References:
File last commit:
Show/Diff file:
Action:
node_modules/object-inspect/test/number.js
| 12 lines
| 395 B
| application/javascript
| JavascriptLexer
|
r789 | 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(); | ||||
}); | ||||