From: Kevin Sawicki Date: Tue, 9 Feb 2016 18:24:48 +0000 (-0800) Subject: Match existing function style X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f7948daea4abf8c4b4c61b457ad832cdc1e1be50;p=electron.git Match existing function style --- diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index ee34ba2c..cb041a93 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -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'); });