diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index d6cdc3c367fe..099b9f85e814 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -711,7 +711,10 @@ describe('browser-window module', function () { w.destroy() w = new BrowserWindow({show: false, resizable: false}) assert.equal(w.isResizable(), false) - assert.equal(w.isMaximizable(), true) + + if (process.platform === 'darwin') { + assert.equal(w.isMaximizable(), true) + } }) it('can be changed with setResizable method', function () {