You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							12 lines
						
					
					
						
							395 B
						
					
					
				
			
		
		
	
	
							12 lines
						
					
					
						
							395 B
						
					
					
				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(); | 
						|
});
 | 
						|
 |