diff --git a/spec/api-menu-spec.js b/spec/api-menu-spec.js index 9afec987f5b..efa79dd7b5d 100644 --- a/spec/api-menu-spec.js +++ b/spec/api-menu-spec.js @@ -591,15 +591,15 @@ describe('Menu module', () => { assert.equal(item.submenu.items[5].role, 'paste') if (process.platform === 'darwin') { - assert.equal(item.submenu.items[6].role, 'pasteAndMatchStyle') + assert.equal(item.submenu.items[6].role, 'pasteandmatchstyle') assert.equal(item.submenu.items[7].role, 'delete') - assert.equal(item.submenu.items[8].role, 'selectAll') + assert.equal(item.submenu.items[8].role, 'selectall') } if (process.platform === 'win32') { assert.equal(item.submenu.items[6].role, 'delete') assert.equal(item.submenu.items[7].type, 'separator') - assert.equal(item.submenu.items[8].role, 'selectAll') + assert.equal(item.submenu.items[8].role, 'selectall') } })