From f2c57e7e1c2eefa18806c8e37de31b314e95f2e0 Mon Sep 17 00:00:00 2001 From: Joe Sepi Date: Fri, 12 Oct 2018 11:13:38 -0700 Subject: [PATCH] test: fixing assertion value order PR-URL: https://github.com/nodejs/node/pull/23574 Reviewed-By: Matteo Collina Reviewed-By: Hitesh Kanwathirtha Reviewed-By: James M Snell --- test/parallel/test-net-stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-net-stream.js b/test/parallel/test-net-stream.js index 4690cf7c905ecb..a6ec4548ada6ea 100644 --- a/test/parallel/test-net-stream.js +++ b/test/parallel/test-net-stream.js @@ -69,5 +69,5 @@ const server = net.createServer(function(socket) { }); process.on('exit', function() { - assert.strictEqual(server.connections, 0); + assert.strictEqual(0, server.connections); });