From c29c510b5a7c6274d10ce08ce4cb4bbfacb6b074 Mon Sep 17 00:00:00 2001 From: Selvaraj Date: Sat, 17 Nov 2018 17:07:09 +0530 Subject: [PATCH] test: fix actual parameter order for 'assert.strictEqual' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/24428 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat Reviewed-By: Ujjwal Sharma --- test/pummel/test-net-throttle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pummel/test-net-throttle.js b/test/pummel/test-net-throttle.js index fb060c9d76d9d5..acd8e0cc003547 100644 --- a/test/pummel/test-net-throttle.js +++ b/test/pummel/test-net-throttle.js @@ -58,7 +58,7 @@ server.listen(common.PORT, function() { console.log('pause'); const x = chars_recved; setTimeout(function() { - assert.strictEqual(x, chars_recved); + assert.strictEqual(chars_recved, x); client.resume(); console.log('resume'); paused = false;