buttonLabel -> Button label for consistency

This commit is contained in:
Kevin Sawicki 2016-12-01 14:16:33 -08:00
parent 750bd9a88b
commit 36371357cd
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ describe('dialog module', () => {
assert.throws(() => {
dialog.showOpenDialog({buttonLabel: []})
}, /buttonLabel must be a string/)
}, /Button label must be a string/)
assert.throws(() => {
dialog.showOpenDialog({defaultPath: {}})
@ -30,7 +30,7 @@ describe('dialog module', () => {
assert.throws(() => {
dialog.showSaveDialog({buttonLabel: []})
}, /buttonLabel must be a string/)
}, /Button label must be a string/)
assert.throws(() => {
dialog.showSaveDialog({defaultPath: {}})