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 <ron@ronkorving.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
  • Loading branch information
teppeis authored and rvagg committed Nov 28, 2018
1 parent 16d7060 commit 54778a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-fips.js
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 54778a0

Please sign in to comment.