From 34b40af5abffc4f421ce01dbbae50af272ec20d2 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Tue, 20 Nov 2018 22:49:51 +0800 Subject: [PATCH] test: fix test case in test-child-process-fork-dgram.js PR-URL: https://github.com/nodejs/node/pull/24459 Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- test/parallel/test-child-process-fork-dgram.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-child-process-fork-dgram.js b/test/parallel/test-child-process-fork-dgram.js index a25b4ad1186821..6552a162636aa8 100644 --- a/test/parallel/test-child-process-fork-dgram.js +++ b/test/parallel/test-child-process-fork-dgram.js @@ -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(); } });