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:
parent
c90b514275
commit
4270c13426
@ -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();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user