test: fixed incorrect variable order in assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/23502 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
d362004010
commit
179c3a8f04
@ -4,8 +4,8 @@ const assert = require('assert');
|
||||
const { spawn } = require('child_process');
|
||||
|
||||
function CheckNoSignalAndErrorCodeOne(code, signal) {
|
||||
assert.strictEqual(null, signal);
|
||||
assert.strictEqual(1, code);
|
||||
assert.strictEqual(signal, null);
|
||||
assert.strictEqual(code, 1);
|
||||
}
|
||||
|
||||
const child = spawn(process.execPath,
|
||||
|
Loading…
x
Reference in New Issue
Block a user