From 981b9ed630d0d001b6ba785bc7e386470d2498e6 Mon Sep 17 00:00:00 2001 From: Evgenii Shchepotev Date: Sun, 26 May 2019 18:17:48 +0300 Subject: [PATCH] test: switch assertEqual arguments --- test/parallel/test-net-binary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('');