summaryrefslogtreecommitdiff
path: root/test/parallel/test-preload.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-preload.js')
-rw-r--r--test/parallel/test-preload.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/parallel/test-preload.js b/test/parallel/test-preload.js
index 9d24fbb365..a5f8a0c276 100644
--- a/test/parallel/test-preload.js
+++ b/test/parallel/test-preload.js
@@ -1,16 +1,14 @@
'use strict';
const common = require('../common');
+// Refs: https://github.com/nodejs/node/pull/2253
+if (common.isSunOS)
+ common.skip('unreliable on SunOS');
+
const assert = require('assert');
const path = require('path');
const childProcess = require('child_process');
-// Refs: https://github.com/nodejs/node/pull/2253
-if (common.isSunOS) {
- common.skip('unreliable on SunOS');
- return;
-}
-
const nodeBinary = process.argv[0];
const preloadOption = (preloads) => {