test: fix assert argument order
PR-URL: https://github.com/nodejs/node/pull/24160 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
08bd8233be
commit
3ffc84a46d
@ -60,8 +60,8 @@ const { spawn } = require('child_process');
|
||||
}));
|
||||
|
||||
child.on('close', common.mustCall(function() {
|
||||
assert.strictEqual(true, output.length > 1);
|
||||
assert.strictEqual('\n', output[output.length - 1]);
|
||||
assert.strictEqual(output.length > 1, true);
|
||||
assert.strictEqual(output[output.length - 1], '\n');
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user