Skip to content

Commit

Permalink
test: fix arguments order in assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: #24591
Reviewed-By: Ron Korving <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Masashi Hirano <[email protected]>
  • Loading branch information
teppeis authored and rvagg committed Feb 28, 2019
1 parent 10f360c commit 3b0cc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-fips.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3b0cc28

Please sign in to comment.