diff --git a/test/parallel/test-net-binary.js b/test/parallel/test-net-binary.js index b8dbc0e8d70e8f..cf8715411d0f7f 100644 --- a/test/parallel/test-net-binary.js +++ b/test/parallel/test-net-binary.js @@ -76,7 +76,7 @@ echoServer.on('listening', function() { }); process.on('exit', function() { - assert.strictEqual(2 * 256, recv.length); + assert.strictEqual(recv.length, 2 * 256); const a = recv.split('');