summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-constructor.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-constructor.js')
-rw-r--r--test/parallel/test-child-process-constructor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-constructor.js b/test/parallel/test-child-process-constructor.js
index 33bcdcb669..bf7fffd9c5 100644
--- a/test/parallel/test-child-process-constructor.js
+++ b/test/parallel/test-child-process-constructor.js
@@ -6,7 +6,7 @@ const { ChildProcess } = require('child_process');
assert.strictEqual(typeof ChildProcess, 'function');
function typeName(value) {
- return value === null ? 'null' : typeof value;
+ return typeof value;
}
{