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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
gengjiawen authored and codebytere committed Jan 29, 2019
1 parent 8d82bdd commit 8da2933
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 8da2933

Please sign in to comment.