]> khamidou — GitHub mirrors - electron.git/commitdiff
Match existing function style
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 9 Feb 2016 18:24:48 +0000 (10:24 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Tue, 9 Feb 2016 18:24:48 +0000 (10:24 -0800)
spec/api-browser-window-spec.js

index ee34ba2c576bc16fa0eb167d39675dc74ae184c0..cb041a9320d876e1757b9104907cc5ed07b8547e 100644 (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');
     });