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 authored and Rod Vagg committed 2019-02-28 23:37:32 +11:00
1 parent 10f360c0b7
commit 3b0cc28b5b
1 file changed
+1 -1
+1 -1
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);
}