Fix test for PR #6600
Just realized that the tests don't pass after my PR. This fixes that :)
This commit is contained in:
		
					parent
					
						
							
								d6a7ced32c
							
						
					
				
			
			
				commit
				
					
						9bc144c880
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -399,7 +399,7 @@ describe('menu module', function () {
 | 
			
		|||
  describe('MenuItem role', function () {
 | 
			
		||||
    it('includes a default label and accelerator', function () {
 | 
			
		||||
      var item = new MenuItem({role: 'close'})
 | 
			
		||||
      assert.equal(item.label, 'Close')
 | 
			
		||||
      assert.equal(item.label, process.platform === 'darwin' ? 'Close Window' : 'Close')
 | 
			
		||||
      assert.equal(item.accelerator, undefined)
 | 
			
		||||
      assert.equal(item.getDefaultRoleAccelerator(), 'CommandOrControl+W')
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue