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 Gireesh Punathil committed 2018-11-25 09:20:42 +05:30
1 parent f85d63609c
commit 63aef2d193
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);
}