From 54778a082ae6c033d0ca88dfa834974a14de46fe Mon Sep 17 00:00:00 2001 From: teppeis Date: Sat, 24 Nov 2018 16:05:49 +0900 Subject: [PATCH] test: fix arguments order in assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/24591 Reviewed-By: Ron Korving Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Masashi Hirano --- test/parallel/test-crypto-fips.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-crypto-fips.js b/test/parallel/test-crypto-fips.js index 2003c390b94c5b..a231db2c1aa1e1 100644 --- a/test/parallel/test-crypto-fips.js +++ b/test/parallel/test-crypto-fips.js @@ -54,7 +54,7 @@ function testHelper(stream, args, expectedOutput, cmd, env) { assert.ok(response.includes(expectedOutput)); } else { // Normal path where we expect either FIPS enabled or disabled. - assert.strictEqual(expectedOutput, Number(response)); + assert.strictEqual(Number(response), expectedOutput); } childOk(child); }