From 5d7c15bc6d0fc5fc8b0f48e8d3fa1943c03f1bc2 Mon Sep 17 00:00:00 2001 From: Diana Lee Date: Fri, 12 Oct 2018 10:32:20 -0700 Subject: [PATCH] test: corrected the order of arguments in assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/23528 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater --- test/pummel/test-tls-securepair-client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pummel/test-tls-securepair-client.js b/test/pummel/test-tls-securepair-client.js index 8e56e11fabd5ae..09006228c25564 100644 --- a/test/pummel/test-tls-securepair-client.js +++ b/test/pummel/test-tls-securepair-client.js @@ -171,8 +171,8 @@ function test(keyfn, certfn, check, next) { process.on('exit', function() { - assert.strictEqual(0, serverExitCode); - assert.strictEqual('WAIT-SERVER-CLOSE', state); + assert.strictEqual(serverExitCode, 0); + assert.strictEqual(state, 'WAIT-SERVER-CLOSE'); assert.ok(gotWriteCallback); }); }