Skip to content

Commit

Permalink
test: fix test case in test-child-process-fork-dgram.js
Browse files Browse the repository at this point in the history
PR-URL: nodejs#24459
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
gengjiawen authored and addaleax committed Nov 23, 2018
1 parent c90b514 commit 4270c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-fork-dgram.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});
Expand Down

0 comments on commit 4270c13

Please sign in to comment.