Match existing function style
This commit is contained in:
parent
c94f1fc857
commit
3e399d09d7
1 changed files with 2 additions and 2 deletions
|
@ -661,11 +661,11 @@ describe('browser-window module', function() {
|
||||||
|
|
||||||
describe('window.webContents.send(channel, args...)', function() {
|
describe('window.webContents.send(channel, args...)', function() {
|
||||||
it('throws an error when the channel is missing', function() {
|
it('throws an error when the channel is missing', function() {
|
||||||
assert.throws(function () {
|
assert.throws(function() {
|
||||||
w.webContents.send();
|
w.webContents.send();
|
||||||
}, 'channel must be specified');
|
}, 'channel must be specified');
|
||||||
|
|
||||||
assert.throws(function () {
|
assert.throws(function() {
|
||||||
w.webContents.send(null);
|
w.webContents.send(null);
|
||||||
}, 'channel must be specified');
|
}, 'channel must be specified');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue