test: fix test case in test-child-process-fork-dgram.js

PR-URL: https://github.com/nodejs/node/pull/24459
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
gengjiawen authored and Rod Vagg committed 2018-11-28 11:25:33 +11:00
1 parent 40701520ce
commit 34b40af5ab
1 file changed
+1 -1
@@ -70,7 +70,7 @@ if (process.argv[2] === 'child') {
child.on('message', (msg) => {
if (msg === 'gotMessage') {
childGotMessage = true;
} else if (msg = 'handlReceived') {
} else if (msg === 'handleReceived') {
sendMessages();
}
});