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); }