From e7d9e87955ec851b3a85f3e8a0d988b5ddacf032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Nohales?= Date: Thu, 16 Aug 2018 10:31:27 -0700 Subject: [PATCH] test: only run run-mac-only.test.js in darwin platform --- test/fork/run-mac-only.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fork/run-mac-only.test.js b/test/fork/run-mac-only.test.js index 9ce3a7d6..126d1ffd 100644 --- a/test/fork/run-mac-only.test.js +++ b/test/fork/run-mac-only.test.js @@ -9,7 +9,7 @@ const filenames = [ [__dirname + 'some\ \\file', '#!/bin/sh\necho "OK"'], ]; -if (!process.env.TRAVIS && process.platform !== 'win32') { +if (!process.env.TRAVIS && process.platform === 'darwin') { describe('nodemon fork (mac only)', () => { before(() => { filenames.map(file => fs.writeFileSync(file[0], file[1], 'utf8'));