From 4af4cede329e415d3c2e8e4161b93ff04b81e241 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() --- 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); }); }