Revert changes made to test case
The MenuItem role should be lowercase
This commit is contained in:
parent
b8ec84c761
commit
df841fa397
1 changed files with 3 additions and 3 deletions
|
@ -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')
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue