From 9e189b9d2d434470fc69a43a35e5d4cec0028fd2 Mon Sep 17 00:00:00 2001 From: leethomas Date: Thu, 26 Jan 2017 07:14:47 -0800 Subject: [PATCH] fix js lint errors --- spec/api-browser-window-spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 4e13a14fca..2d52ec27e5 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -514,14 +514,14 @@ describe('BrowserWindow module', function () { assert.equal(w.isAlwaysOnTop(), true) }) - it('raises an error when relativeLevel is out of bounds', function() { - if (process.platform !== 'darwin') return; + it('raises an error when relativeLevel is out of bounds', function () { + if (process.platform !== 'darwin') return - assert.throws(function() { + assert.throws(function () { w.setAlwaysOnTop(true, '', -1) }) - assert.throws(function() { + assert.throws(function () { w.setAlwaysOnTop(true, '', 2147483632) }) })