From 758939b2c33e8cfa47dc1dc3578a890c3b4154c1 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 --- 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 4aa36261dbb24b..5d82dffd9f2bba 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', function(msg) { if (msg === 'gotMessage') { childGotMessage = true; - } else if (msg = 'handlReceived') { + } else if (msg === 'handleReceived') { sendMessages(); } });