Commit 0351b2f1 authored by Rich Trott's avatar Rich Trott
Browse files

test: refactor switch

`test-child-process-fork-net2.js` has a switch statement with 6 cases.
Each case uses `child.send()`, passing an object for the callback.
`child.send()` ignores the callback because it is not a function.
Removing the unused argument.

PR-URL: https://github.com/nodejs/node/pull/4870


Reviewed-By: default avatarAlexis Campailla <orangemocha@nodejs.org>
parent cee14f52
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment