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: #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 rvagg committed Nov 28, 2018
1 parent 4070152 commit 34b40af
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 34b40af

Please sign in to comment.