summaryrefslogtreecommitdiff
path: root/test/parallel/test-spawn-cmd-named-pipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-spawn-cmd-named-pipe.js')
-rw-r--r--test/parallel/test-spawn-cmd-named-pipe.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/parallel/test-spawn-cmd-named-pipe.js b/test/parallel/test-spawn-cmd-named-pipe.js
index 94a34b640d..30d0ec2c26 100644
--- a/test/parallel/test-spawn-cmd-named-pipe.js
+++ b/test/parallel/test-spawn-cmd-named-pipe.js
@@ -1,12 +1,10 @@
'use strict';
const common = require('../common');
-const assert = require('assert');
-
// This test is intended for Windows only
-if (!common.isWindows) {
+if (!common.isWindows)
common.skip('this test is Windows-specific.');
- return;
-}
+
+const assert = require('assert');
if (!process.argv[2]) {
// parent