test: fix arguments order in assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
f85d63609c
commit
63aef2d193
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user