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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-spawn-cmd-named-pipe.js b/test/parallel/test-spawn-cmd-named-pipe.js
index fafc5b2167..c463bf6140 100644
--- a/test/parallel/test-spawn-cmd-named-pipe.js
+++ b/test/parallel/test-spawn-cmd-named-pipe.js
@@ -39,7 +39,7 @@ if (!process.argv[2]) {
const comspec = process.env['comspec'];
if (!comspec || comspec.length === 0) {
- assert.fail(null, null, 'Failed to get COMSPEC');
+ common.fail('Failed to get COMSPEC');
}
const args = ['/c', process.execPath, __filename, 'child',