Match existing function style

This commit is contained in:
Kevin Sawicki 2016-02-09 10:24:48 -08:00
parent c94f1fc857
commit 3e399d09d7

View file

@ -661,11 +661,11 @@ describe('browser-window module', function() {
describe('window.webContents.send(channel, args...)', function() {
it('throws an error when the channel is missing', function() {
assert.throws(function () {
assert.throws(function() {
w.webContents.send();
}, 'channel must be specified');
assert.throws(function () {
assert.throws(function() {
w.webContents.send(null);
}, 'channel must be specified');
});