fix js lint errors

This commit is contained in:
leethomas 2017-01-26 07:14:47 -08:00
parent 1234b61fa6
commit 9e189b9d2d

View file

@ -514,14 +514,14 @@ describe('BrowserWindow module', function () {
assert.equal(w.isAlwaysOnTop(), true) assert.equal(w.isAlwaysOnTop(), true)
}) })
it('raises an error when relativeLevel is out of bounds', function() { it('raises an error when relativeLevel is out of bounds', function () {
if (process.platform !== 'darwin') return; if (process.platform !== 'darwin') return
assert.throws(function() { assert.throws(function () {
w.setAlwaysOnTop(true, '', -1) w.setAlwaysOnTop(true, '', -1)
}) })
assert.throws(function() { assert.throws(function () {
w.setAlwaysOnTop(true, '', 2147483632) w.setAlwaysOnTop(true, '', 2147483632)
}) })
}) })