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:
teppeis 2018-11-24 16:05:49 +09:00 committed by Gireesh Punathil
parent f85d63609c
commit 63aef2d193

View File

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